mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-11 16:06:41 +07:00
5f6722ee63
While working on PS I've noticed elp_work is kicking rather often, and sometimes the chip is put to sleep before 5ms delay expires. This seems to happen because by the time wl1251_ps_elp_wakeup is called elp_work might still be pending. After wakeup is done, the processing may take some time, during which 5ms might expire and elp_work might get scheduled. In this case, ss soon as 1st thread finishes work and releases the mutex, elp_work will then put the device to sleep without 5ms delay. In addition 1st thread will queue additional elp_work needlessly. Fix this by cancelling work in wl1251_ps_elp_wakeup instead. Signed-off-by: Grazvydas Ignotas <notasas@gmail.com> Acked-by: Kalle Valo <kvalo@adurom.com> Signed-off-by: John W. Linville <linville@tuxdriver.com> |
||
---|---|---|
.. | ||
acx.c | ||
acx.h | ||
boot.c | ||
boot.h | ||
cmd.c | ||
cmd.h | ||
debugfs.c | ||
debugfs.h | ||
event.c | ||
event.h | ||
init.c | ||
init.h | ||
io.c | ||
io.h | ||
Kconfig | ||
main.c | ||
Makefile | ||
ps.c | ||
ps.h | ||
reg.h | ||
rx.c | ||
rx.h | ||
sdio.c | ||
spi.c | ||
spi.h | ||
tx.c | ||
tx.h | ||
wl12xx_80211.h | ||
wl1251.h |