Revert "rtw88: no need to set registers for SDIO"
authorYan-Hsuan Chuang <yhchuang@realtek.com>
Wed, 20 May 2020 05:53:50 +0000 (13:53 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 29 May 2020 17:11:06 +0000 (20:11 +0300)
commitdba5a189bf6169dc3e7462df17fb2aee5ca37e90
treec74362ccf9515d93f1e4f1349758bc313e369fcf
parent3a8855d8cfcb944032ce0eecba05b2d0e93f4fb1
Revert "rtw88: no need to set registers for SDIO"

This reverts commit 07d0f5534935e2daf63a4e1012af13d68e089fed.

For rtw88 driver, the SDIO is going to be supported, so there is
no need to remove the SDIO related power sequence settings. And
while the power sequence parser will pass in the mask of the HCI,
the SDIO part will not be used to set registers accordingly.

Moreover, the power sequence table is released as a whole package,
so the next time if we are going to update, the SDIO settings will
be overwritten. So, revert this now.

Signed-off-by: Yan-Hsuan Chuang <yhchuang@realtek.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20200520055350.23328-1-yhchuang@realtek.com
drivers/net/wireless/realtek/rtw88/rtw8723d.c
drivers/net/wireless/realtek/rtw88/rtw8822b.c
drivers/net/wireless/realtek/rtw88/rtw8822c.c