summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorDavid Yang <mmyangfl@gmail.com>2026-10-15 08:44:19 +0800
committerPaolo Abeni <pabeni@redhat.com>2026-10-20 13:04:54 +0200
commit7d23f0f650d943f3f6bdd4635b43d66dcb7fb0a2 (patch)
treef5a7f68482533060bb7b6326af45c4e158a2b845 /tools/lib/python
parent8e793b899b903e78cd0c40af5b86a086ea1d7ee1 (diff)
net: dsa: motorcomm: Remove the redundant MIB clear
The MIB clear in yt921x_chip_setup() is redundant. yt921x_dsa_setup() issues a hardware reset first, and the reset itself zeroes all the MIB counters. It does not follow the correct procedure either: CLEAN only takes effect while ALL_PORT is low, so a single-step CLEAN | ALL_PORT write does nothing once ALL_PORT is latched - and this write is what latches it for any CLEAN requested later. Signed-off-by: David Yang <mmyangfl@gmail.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Link: https://patch.msgid.link/20261015004422.1554104-1-mmyangfl@gmail.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions