diff options
author | Kornel Dulęba <mindal@semihalf.com> | 2023-01-26 13:25:34 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-01-28 13:20:20 +0000 |
commit | 364d0221f1788e5225006ba7a0026e5968431c29 (patch) | |
tree | 8e3e9848afd992547cafac38dbcfcb7ef5dcb66f /drivers/net/wwan/t7xx/t7xx_pci.c | |
parent | 60bd1d9008a50cc78c4033a16a6f5d78210d481c (diff) | |
download | linux-364d0221f1788e5225006ba7a0026e5968431c29.tar.gz linux-364d0221f1788e5225006ba7a0026e5968431c29.tar.bz2 linux-364d0221f1788e5225006ba7a0026e5968431c29.zip |
net: wwan: t7xx: Fix Runtime PM resume sequence
Resume device before calling napi_schedule, instead of doing in the napi
poll routine. Polling is done in softrq context. We can't call the PM
resume logic from there as it's blocking and not irq safe.
In order to make it work modify the interrupt handler to be run from irq
handler thread.
Fixes: 5545b7b9f294 ("net: wwan: t7xx: Add NAPI support")
Signed-off-by: Kornel Dulęba <mindal@semihalf.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wwan/t7xx/t7xx_pci.c')
0 files changed, 0 insertions, 0 deletions