summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2026-08-04 04:10:40 +0100
committerJakub Kicinski <kuba@kernel.org>2026-08-07 16:38:53 -0700
commit1c95dcb7e923beebccdc79adc3dc1ec8c52295d0 (patch)
treecf140338ffe0835b0b138005a3b9668492ea501a /tools/perf/scripts/python
parent573d6e3afe3d01e34dc82c77bf22ca96a74d805e (diff)
net: dsa: mt7530: error out on failed PHY_IAC command writes
MT7531_PHY_ACS_ST is only ever set by the command write that precedes each poll in the MT7531 indirect PHY access functions, and that write's return value is discarded. A failed write leaves ACS_ST at 0 from the previous access, so the poll succeeds on its first iteration and the functions return stale IAC contents as if they were fresh PHY data. Check the writes and bail out before polling. Signed-off-by: Daniel Golle <daniel@makrotopia.org> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Link: https://patch.msgid.link/c34602e63a20ebbfb97babd145c82832d7a0b523.1785811140.git.daniel@makrotopia.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions