1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/net/wireless/ath
Loic Poulain cab2d3fd68 bus: mhi: core: Add support for forced PM resume
For whatever reason, some devices like QCA6390, WCN6855 using ath11k
are not in M3 state during PM resume, but still functional. The
mhi_pm_resume should then not fail in those cases, and let the higher
level device specific stack continue resuming process.

Add an API mhi_pm_resume_force(), to force resuming irrespective of the
current MHI state. This fixes a regression with non functional ath11k WiFi
after suspend/resume cycle on some machines.

Bug report: https://bugzilla.kernel.org/show_bug.cgi?id=214179

Link: https://lore.kernel.org/regressions/871r5p0x2u.fsf@codeaurora.org/
Fixes: 020d3b26c0 ("bus: mhi: Early MHI resume failure in non M3 state")
Cc: stable@vger.kernel.org #5.13
Reported-by: Kalle Valo <kvalo@codeaurora.org>
Reported-by: Pengyu Ma <mapengyu@gmail.com>
Tested-by: Kalle Valo <kvalo@kernel.org>
Acked-by: Kalle Valo <kvalo@kernel.org>
Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
[mani: Switched to API, added bug report, reported-by tags and CCed stable]
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Link: https://lore.kernel.org/r/20211209131633.4168-1-manivannan.sadhasivam@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-12-09 18:47:05 +01:00
..
ar5523 ar5512: remove duplicate USB device ID 2021-09-21 18:09:38 +03:00
ath5k Merge ath-next from git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git 2021-10-20 11:56:50 +03:00
ath6kl Merge ath-next from git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git 2021-10-28 16:23:52 +03:00
ath9k ath9k: fix an IS_ERR() vs NULL check 2021-10-13 08:48:14 +03:00
ath10k Core: 2021-11-02 06:20:58 -07:00
ath11k bus: mhi: core: Add support for forced PM resume 2021-12-09 18:47:05 +01:00
carl9170 wireless: carl9170: fix LEDS build errors & warnings 2021-06-12 13:37:46 +03:00
wcn36xx wcn36xx: add missing 5GHz channels 136 and 144 2021-10-28 10:32:04 +03:00
wil6210 wil6210: use eth_hw_addr_set() 2021-10-20 12:39:44 +03:00
ath.h ath: Modify ath_key_delete() to not need full key entry 2020-12-17 08:51:17 +02:00
debug.c ath: Make ath_opmode_to_string understand OCB mode 2015-08-10 22:21:15 +03:00
dfs_pattern_detector.c ath: dfs_pattern_detector: Fix possible null-pointer dereference in channel_detector_create() 2021-10-11 09:26:10 +03:00
dfs_pattern_detector.h ath: add support to get the detected radar specifications 2018-05-25 13:15:21 +03:00
dfs_pri_detector.c ath: dfs_pri_detector: Demote zero/half completed kernel-doc headers 2020-11-07 10:06:49 +02:00
dfs_pri_detector.h ath: add support to get the detected radar specifications 2018-05-25 13:15:21 +03:00
hw.c ath: Fix wrong function name in comments 2021-06-15 17:01:24 +03:00
Kconfig Merge ath-next from git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git 2020-06-15 20:18:39 +03:00
key.c ath: Modify ath_key_delete() to not need full key entry 2020-12-17 08:51:17 +02:00
main.c ath9k: add a helper to get the string representation of ath_bus_type 2016-11-15 16:55:37 +02:00
Makefile ath11k: driver for Qualcomm IEEE 802.11ax devices 2019-11-25 14:16:34 +02:00
reg.h
regd.c ath: regd: Provide description for ath_reg_apply_ir_flags's 'reg' param 2020-11-07 10:06:43 +02:00
regd.h ath: drop duplicated define 2019-04-29 17:55:53 +03:00
regd_common.h ath: regd: add extra US coutry codes 2019-02-07 17:02:19 +02:00
spectral_common.h ath11k: Introduce spectral hw configurable param 2021-09-28 11:52:57 +03:00
trace.c
trace.h