diff options
| author | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2022-09-13 22:06:27 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2022-09-20 17:54:13 +0300 |
| commit | 8475c4b70b040f9d8cbc308100f2c4d865f810b3 (patch) | |
| tree | 56edb7db335383f20de2d95677a2fac2557c714d /tools/perf/scripts/python/check-perf-trace.py | |
| parent | 7f32974bdc9d2adcc54cc20fe227f0a000972dc6 (diff) | |
| download | linux-8475c4b70b040f9d8cbc308100f2c4d865f810b3.tar.xz | |
net: sfp: re-implement soft state polling setup
Re-implement the decision making for soft state polling. Instead of
generating the soft state mask in sfp_soft_start_poll() by looking at
which GPIOs are available, record their availability in
sfp_sm_mod_probe() in sfp->state_hw_mask.
This will then allow us to clear bits in sfp->state_hw_mask in module
specific quirks when the hardware signals should not be used, thereby
allowing us to switch to using the software state polling.
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions
