rtw88: 8822ce: set CLKREQ# signal to low during suspend
authorChin-Yen Lee <timlee@realtek.com>
Tue, 27 Jul 2021 10:05:03 +0000 (18:05 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Sat, 21 Aug 2021 19:18:45 +0000 (22:18 +0300)
commit8d52b46caf6846b549198c3fca7a1e3312322c12
tree89c4d2565fef0f34935389ee22ea8c1365e32b6c
parent0c283b47539ab11f9efb46800f2a9dd63a48d825
rtw88: 8822ce: set CLKREQ# signal to low during suspend

We find the power sequence of system suspend flow don't meet
the criteria when using 8822CE-VR chip by rfe-type 6, because the
reference clock form host is sometimes late. To avoid the behavoir,
we keep CLKREQ# signal to low during suspend to make sure the reference
clock arrival in time.

Signed-off-by: Chin-Yen Lee <timlee@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20210727100503.31626-1-pkshih@realtek.com
drivers/net/wireless/realtek/rtw88/pci.c
drivers/net/wireless/realtek/rtw88/pci.h