rtlwifi: rtl8821ae: Fix typos in power-sequence macro
authorLarry Finger <Larry.Finger@lwfinger.net>
Thu, 18 Dec 2014 09:05:26 +0000 (03:05 -0600)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 24 Dec 2014 16:29:12 +0000 (18:29 +0200)
Two of the macros that control power sequencing have values to be set that
contain bits that are not covered by the associated mask.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/rtlwifi/rtl8821ae/pwrseq.h

index bf0b0ce..36b3e91 100644 (file)
@@ -93,9 +93,9 @@
 
 #define RTL8812_TRANS_CARDEMU_TO_SUS                                   \
        {0x0042, PWR_CUT_ALL_MSK, PWR_FAB_ALL_MSK, PWR_INTF_USB_MSK,\
-       PWR_BASEADDR_MAC, PWR_CMD_WRITE, 0xF0, 0xcc}, \
+       PWR_BASEADDR_MAC, PWR_CMD_WRITE, 0xF0, 0xc0}, \
        {0x0042, PWR_CUT_ALL_MSK, PWR_FAB_ALL_MSK, PWR_INTF_PCI_MSK,\
-       PWR_BASEADDR_MAC, PWR_CMD_WRITE, 0xF0, 0xEC}, \
+       PWR_BASEADDR_MAC, PWR_CMD_WRITE, 0xF0, 0xE0}, \
        {0x0043, PWR_CUT_ALL_MSK, PWR_FAB_ALL_MSK, PWR_INTF_ALL_MSK,\
        PWR_BASEADDR_MAC, PWR_CMD_WRITE, 0xFF, 0x07 \
        /* gpio11 input mode, gpio10~8 output mode */}, \