diff options
author | 2023-06-27 03:50:00 +0000 | |
---|---|---|
committer | 2023-06-29 10:59:43 +0200 | |
commit | 7a8227b2e76be506b2ac64d2beac950ca04892a5 (patch) | |
tree | e61244dcffe755e922efe3e10edbbb5a9784cec6 /tools/perf/scripts/python/task-analyzer.py | |
parent | Merge tag 'net-next-6.5' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next (diff) | |
download | wireguard-linux-7a8227b2e76be506b2ac64d2beac950ca04892a5.tar.xz wireguard-linux-7a8227b2e76be506b2ac64d2beac950ca04892a5.zip |
net: lan743x: Don't sleep in atomic context
dev_set_rx_mode() grabs a spin_lock, and the lan743x implementation
proceeds subsequently to go to sleep using readx_poll_timeout().
Introduce a helper wrapping the readx_poll_timeout_atomic() function
and use it to replace the calls to readx_polL_timeout().
Fixes: 23f0703c125b ("lan743x: Add main source files for new lan743x driver")
Cc: stable@vger.kernel.org
Cc: Bryan Whitehead <bryan.whitehead@microchip.com>
Cc: UNGLinuxDriver@microchip.com
Signed-off-by: Moritz Fischer <moritzf@google.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://lore.kernel.org/r/20230627035000.1295254-1-moritzf@google.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions