]> git.baikalelectronics.ru Git - kernel.git/commitdiff
rtw88: 8822c: update power sequence to v16
authorTzu-En Huang <tehuang@realtek.com>
Wed, 5 Feb 2020 07:08:58 +0000 (15:08 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 12 Feb 2020 16:18:30 +0000 (18:18 +0200)
Fix switching xtal mode leads to BT USB error issue.

Signed-off-by: Tzu-En Huang <tehuang@realtek.com>
Signed-off-by: Yan-Hsuan Chuang <yhchuang@realtek.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtw88/rtw8822c.c

index 3865097696d40f2185b2babe85bd6210357da0bd..d49c8b697e4fcea2d0f9ff14dda09b2c14f6ea9a 100644 (file)
@@ -3544,6 +3544,11 @@ static struct rtw_pwr_seq_cmd trans_cardemu_to_act_8822c[] = {
         RTW_PWR_INTF_ALL_MSK,
         RTW_PWR_ADDR_MAC,
         RTW_PWR_CMD_WRITE, BIT(2), BIT(2)},
+       {0x1064,
+        RTW_PWR_CUT_ALL_MSK,
+        RTW_PWR_INTF_ALL_MSK,
+        RTW_PWR_ADDR_MAC,
+        RTW_PWR_CMD_WRITE, BIT(1), BIT(1)},
        {0xFFFF,
         RTW_PWR_CUT_ALL_MSK,
         RTW_PWR_INTF_ALL_MSK,