diff options
author | Vivien Didelot <[email protected]> | 2019-08-28 12:26:11 -0400 |
---|---|---|
committer | David S. Miller <[email protected]> | 2019-08-29 17:20:04 -0700 |
commit | b98f0f530d7978157b553a97556c5cc6489b3108 (patch) | |
tree | 8933dae4ba76e30e1090249e2e6f6e3404fd54c9 /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | 73a1dd8c908eee5bd34800d355759adb493f67ac (diff) |
net: dsa: mv88e6xxx: get serdes lane after lock
This is a follow-up patch for commit 17deaf5cb37a ("net: dsa:
mv88e6xxx: create serdes_get_lane chip operation").
The .serdes_get_lane implementations access the CMODE of a port,
even though it is cached at the moment, it is safer to call them
after the mutex is locked, not before.
At the same time, check for an eventual error and return IRQ_DONE,
instead of blindly ignoring it.
Signed-off-by: Vivien Didelot <[email protected]>
Reviewed-by: Marek BehĂșn <[email protected]>
Reviewed-by: Andrew Lunn <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions