aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-imx.c
diff options
context:
space:
mode:
authorMoritz Fischer <[email protected]>2023-06-27 03:50:00 +0000
committerPaolo Abeni <[email protected]>2023-06-29 10:59:43 +0200
commit7a8227b2e76be506b2ac64d2beac950ca04892a5 (patch)
treee61244dcffe755e922efe3e10edbbb5a9784cec6 /drivers/usb/cdns3/cdns3-imx.c
parent3a8a670eeeaa40d87bd38a587438952741980c18 (diff)
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: [email protected] Cc: Bryan Whitehead <[email protected]> Cc: [email protected] Signed-off-by: Moritz Fischer <[email protected]> Reviewed-by: Andrew Lunn <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions