HI3516DV300在SDIO1总线上对接RTL88x2BS中的wifi

该模块参数如下:

Product Name BL-M8822BS1
Main Chip RTL8822BS-CG
Host Interface SDIO (SDIO1.1/2.0/3.0 ) and UART
IEEE Standards IEEE 802.11a/b/g/n/ac
Operating Frequencies 2.4GHz~2.4835GHz /5.15~5.85Hz
Modulation WIFI:802.11b: CCK, DQPSK, DBPSK802.11a/g: 64-QAM,16-QAM, QPSK, BPSK802.11n: 64-QAM,16-QAM, QPSK, BPSK802.11ac: 256-QAM,64-QAM,16-QAM, QPSK, BPSK BT:8DPSK,π/4DQPSK, GFSK
Working Mode Infrastructure, Ad-Hoc
Wireless Data Rate WIFI:802.11b: 1, 2 ,5.5,11Mbps802.11a/g: 6,9,12,18,24,36,48,54Mbps802.11n: HT20 reach up to144.4Mbps, HT40 reach up to300Mbps802.11ac: VHT20 reach up to173.3Mbps, VHT40 reach up to400Mbps, VHT80 reach up to866.7MbpsBT:1Mbps for Basic Rate2,3Mbps for Enhanced Date Rate
Rx Sensitivity -95dBm (Min)
TX Power 18.5dBm (Max)
Antenna Type Connect to external antenna through the half hole connector
Dimension(L*W*H) 13.1*15.1*3.5mm (L*W*H) ,Tolerance: ±0.15mm
Power Supply 3.3V±0.2V
Power Consumption Standby 195mA (Max)TX mode 650 mA (Max)
Clock Source 40MHz
Working Temperature -10°C to +70°C
Storage Temperature -40°C to +80°C

一、配置 CFG80211

CFG80211 是内核中 WiFi 驱动和用户态进程的标准接口,在 CFG80211 出现之前是WEXT,现在越来越多的使用 CFG80211,WiFi Direct 功能只有 CFG80211 才支持。进入 Network support->Wireless,设置 cfg80211 和 mac80211 为 M。

二、 配置 Wireless Extension

WEXT 是内核中 WiFi 驱动和用户态进程的标准接口,调试工具 iwconfig、iwlist、iwpriv 需要使用该接口。如果没有配置该接口,有些驱动会有编译错误。 WEXT 在内核配置中没有单独的配置项,只能通过打开依赖它的配置项来间接打开。配置了 CFG80211 后,进入 Device Drivers->Network device support->Wireless LAN,设置 USB ZD1201 based Wireless device support 为 M。

三、配置 USB 和 SDIO

1.根据《Hi3516DV300 专业型 Smart IP Camera SoC 用户指南》和《外围设备驱动操作指南》配置对应的GPIO复用。
2.如果使用的是SDIO1来对接WIFI模块,则需要修改 Linux 源码下的arch/arm/boot/dts/hi3516dv300-demb.dts,将

&mmc2 {
        status = "disabled";
};

改为

&mmc2 {
        status = "okay";
};

四、移植驱动到kernel

 将供应商提供的驱动放在目录:kernel\drivers\
 修改当前目录下makefile:
 obj-y    += rtl8822Bs/
 
 修改kconfig:
 source "drivers/rtl8822Bs/Kconfig"
 
 make menuconfig 添加勾选
    Device Drivers  --->  
        Realtek 8822BS SDIO WiFi  
执行
make ARCH=arm CROSS_COMPILE=arm-himix200-linux- menuconfig
选择上述配置

执行
make ARCH=arm CROSS_COMPILE=arm-himix200-linux- modules
编译驱动模块

然后加载驱动,就会出现以下错误打印,我也不知道要怎么改。。。(手动滑稽保命)

~ # insmod /mnt/rtl8822bs.ko 
RTW: module init start
RTW: rtl88x2bs v5.6.0_32803.20190402_COEX20180928-6a6a
RTW: build time: May 15 2020 01:44:00
RTW: rtl88x2bs BT-Coex version = COEX20180928-6a6a
RTW: rtw_inetaddr_notifier_register
RTW: == SDIO Card Info ==
RTW:   clock: 50000000 Hz
RTW:   timing spec: sd high-speed
RTW:   sd3_bus_mode: FALSE
RTW: ================
RTW: CHIP TYPE: RTL8822B
RTW: [HALMAC]11692M
HALMAC_MAJOR_VER = 1
HALMAC_PROTOTYPE_VER = 5
HALMAC_MINOR_VER = 14
HALMAC_PATCH_VER = 25
RTW: rtw_hal_config_rftype RF_Type is 2 TotalTxPath is 2
RTW: Chip Version Info: CHIP_8822B_Normal_Chip_UMC_D_CUT_2T2R_RomVer(3)
RTW: rtw_halmac_poweron: 0x10250085[7:0] = 0x03, enable report crc
rtl88x2bs mmc2:0001:1: MAC register:
rtl88x2bs mmc2:0001:1: 0x10000: 9e 82 00 d8 92 00 03 14 23 7c 20 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x10010: 03 6b 4d 48 55 a1 a3 95 00 01 40 00 00 b1 86 00 
rtl88x2bs mmc2:0001:1: 0x10020: 2d 7d 00 0b db fc cf 41 c1 f9 0e 6d 48 04 a3 08 
rtl88x2bs mmc2:0001:1: 0x10030: 00 00 60 31 00 00 00 18 00 10 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x10040: 04 00 00 00 00 00 00 00 00 00 00 00 82 82 62 00 
rtl88x2bs mmc2:0001:1: 0x10050: 00 00 00 00 00 0c 00 80 00 00 00 00 c0 00 00 00 
rtl88x2bs mmc2:0001:1: 0x10060: 6a 00 00 00 00 10 24 36 0d f8 45 b0 01 b0 c0 88 
rtl88x2bs mmc2:0001:1: 0x10070: 00 00 03 02 e5 04 00 00 fb 35 5b 8a 2b 00 90 0b 
rtl88x2bs mmc2:0001:1: 0x10080: 01 00 60 07 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x10090: 00 b5 00 d4 72 00 00 20 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x100a0: 20 06 00 00 30 04 71 42 00 70 00 00 4b 15 c6 60 
rtl88x2bs mmc2:0001:1: 0x100b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x100c0: ea ea ea ea 00 00 00 00 ea ea ea ea 29 00 00 00 
rtl88x2bs mmc2:0001:1: 0x100d0: 02 ff ff 00 00 00 00 00 00 00 00 00 04 00 00 00 
rtl88x2bs mmc2:0001:1: 0x100e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x100f0: 33 3d 49 0c c0 00 00 30 29 81 09 00 0a 00 00 40 
rtl88x2bs mmc2:0001:1: 0x10100: 00 00 00 00 10 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x10110: 00 00 00 00 00 0f 00 00 00 00 00 00 ff 4f 00 00 
rtl88x2bs mmc2:0001:1: 0x10120: 00 00 00 00 10 20 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x10130: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x10140: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x10150: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x10160: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x10170: 00 00 00 00 20 00 00 f0 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x10180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x10190: 00 00 00 80 00 00 00 10 80 00 00 00 15 02 00 00 
rtl88x2bs mmc2:0001:1: 0x101a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x101b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x101c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x101d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x101e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x101f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x10200: 00 20 00 20 f6 0f f8 0f 10 00 00 00 00 00 fd 0f 
rtl88x2bs mmc2:0001:1: 0x10210: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x10220: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x10230: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x10240: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x10250: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x10260: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x10270: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x10280: 03 20 00 00 00 00 02 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x10290: 04 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 
rtl88x2bs mmc2:0001:1: 0x102a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x102b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x102c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x102d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x102e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x102f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x10300: ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea 
rtl88x2bs mmc2:0001:1: 0x10310: ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea 
rtl88x2bs mmc2:0001:1: 0x10320: ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea 
rtl88x2bs mmc2:0001:1: 0x10330: ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea 
rtl88x2bs mmc2:0001:1: 0x10340: ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea 
rtl88x2bs mmc2:0001:1: 0x10350: ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea 
rtl88x2bs mmc2:0001:1: 0x10360: ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea 
rtl88x2bs mmc2:0001:1: 0x10370: ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea 
rtl88x2bs mmc2:0001:1: 0x10380: ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea 
rtl88x2bs mmc2:0001:1: 0x10390: ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea 
rtl88x2bs mmc2:0001:1: 0x103a0: ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea 
rtl88x2bs mmc2:0001:1: 0x103b0: ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea 
rtl88x2bs mmc2:0001:1: 0x103c0: ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea 
rtl88x2bs mmc2:0001:1: 0x103d0: ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea 
rtl88x2bs mmc2:0001:1: 0x103e0: ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea 
rtl88x2bs mmc2:0001:1: 0x103f0: ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea 
rtl88x2bs mmc2:0001:1: 0x10400: ff ff 7f 00 ff ff 7f 00 ff ff 7f 00 ff ff 7f 00 
rtl88x2bs mmc2:0001:1: 0x10410: ff ff 7f 00 ff ff 7f 00 f6 6f ff 0f f5 0f 00 00 
rtl88x2bs mmc2:0001:1: 0x10420: 87 3f 70 00 f6 0f 10 00 16 16 20 20 00 c0 00 00 
rtl88x2bs mmc2:0001:1: 0x10430: 01 02 03 04 05 06 07 08 01 02 03 04 05 06 07 08 
rtl88x2bs mmc2:0001:1: 0x10440: 11 00 60 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x10450: 00 00 00 00 05 5e f6 0f ff ff ff ff 00 04 00 00 
rtl88x2bs mmc2:0001:1: 0x10460: 00 00 00 03 ff ff 7f 00 ff ff 7f 00 ff ff 7f 00 
rtl88x2bs mmc2:0001:1: 0x10470: ff ff 7f 00 ff ff 7f 00 f6 0f f6 0f 00 00 08 10 
rtl88x2bs mmc2:0001:1: 0x10480: 00 04 0c 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x10490: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x104a0: 00 00 00 00 00 00 00 00 00 00 00 00 20 00 00 31 
rtl88x2bs mmc2:0001:1: 0x104b0: 00 00 00 00 00 00 00 00 00 00 00 00 40 00 04 0f 
rtl88x2bs mmc2:0001:1: 0x104c0: 00 10 00 10 40 03 04 00 01 01 14 0c 7f ff 02 01 
rtl88x2bs mmc2:0001:1: 0x104d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 30 
rtl88x2bs mmc2:0001:1: 0x104e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x104f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ff ff 
rtl88x2bs mmc2:0001:1: 0x10500: 24 32 2f 00 26 43 5e 00 2b a4 00 00 49 a5 00 00 
rtl88x2bs mmc2:0001:1: 0x10510: 13 44 1c 28 10 10 10 10 02 00 14 09 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x10520: 0f 3f 00 00 0f c8 ff 00 8f 0a 6c 80 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x10530: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x10540: 02 c8 00 80 80 01 40 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x10550: 14 14 00 00 64 00 64 00 05 03 02 00 64 10 0f 0f 
rtl88x2bs mmc2:0001:1: 0x10560: 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x10570: 02 01 0a 7f 00 10 ff 00 14 14 14 00 80 80 80 80 
rtl88x2bs mmc2:0001:1: 0x10580: 00 00 00 00 00 00 00 00 00 00 00 00 60 00 20 00 
rtl88x2bs mmc2:0001:1: 0x10590: 0f 00 0f 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x105a0: 02 02 02 02 02 02 01 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x105b0: 00 02 00 00 40 10 02 00 64 00 64 00 64 00 04 00 
rtl88x2bs mmc2:0001:1: 0x105c0: 00 00 00 00 00 00 00 00 00 00 00 00 51 10 e2 01 
rtl88x2bs mmc2:0001:1: 0x105d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x105e0: 00 10 00 00 00 30 00 00 00 10 00 00 03 00 00 00 
rtl88x2bs mmc2:0001:1: 0x105f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ff ff 
rtl88x2bs mmc2:0001:1: 0x10600: 00 00 00 04 00 00 10 00 00 00 00 00 10 04 00 00 
rtl88x2bs mmc2:0001:1: 0x10610: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x10620: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x10630: 00 00 08 08 02 00 00 00 28 00 0a 10 10 10 10 10 
rtl88x2bs mmc2:0001:1: 0x10640: 14 14 3a 01 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x10650: 26 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x10660: 10 00 00 00 00 00 00 00 00 10 30 0e 00 20 04 00 
rtl88x2bs mmc2:0001:1: 0x10670: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x10680: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x10690: 00 00 00 00 00 02 0a 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x106a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x106b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x106c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x106d0: 00 00 00 00 00 00 00 00 3f 00 00 00 00 00 04 0b 
rtl88x2bs mmc2:0001:1: 0x106e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x106f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x10700: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x10710: 00 00 00 00 00 00 00 00 80 02 00 20 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x10720: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x10730: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x10740: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x10750: 76 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x10760: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x10770: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x10780: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x10790: 00 00 00 00 7f 00 00 00 00 44 44 04 05 04 03 02 
rtl88x2bs mmc2:0001:1: 0x107a0: 10 40 00 4a 25 34 22 01 e0 88 e0 88 0b 88 0b 88 
rtl88x2bs mmc2:0001:1: 0x107b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x107c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x107d0: ff 0f ff 0f 00 a0 80 50 41 00 81 30 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x107e0: a5 45 18 00 00 00 00 00 00 00 00 00 64 00 00 00 
rtl88x2bs mmc2:0001:1: 0x107f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: MAC Extend register:
rtl88x2bs mmc2:0001:1: 0x11000: 03 00 00 80 ea ea ea ea ea ea ea ea ea ea ea ea 
rtl88x2bs mmc2:0001:1: 0x11010: ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea 
rtl88x2bs mmc2:0001:1: 0x11020: ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea 
rtl88x2bs mmc2:0001:1: 0x11030: ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea 
rtl88x2bs mmc2:0001:1: 0x11040: ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea 
rtl88x2bs mmc2:0001:1: 0x11050: ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea 
rtl88x2bs mmc2:0001:1: 0x11060: ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea 
rtl88x2bs mmc2:0001:1: 0x11070: 00 00 00 00 ea ea ea ea ea ea ea ea ea ea ea ea 
rtl88x2bs mmc2:0001:1: 0x11080: 00 00 00 00 ea ea ea ea 00 00 00 00 ea ea ea ea 
rtl88x2bs mmc2:0001:1: 0x11090: ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea 
rtl88x2bs mmc2:0001:1: 0x110a0: ea ea ea ea ea ea ea ea 00 e0 00 00 ea ea ea ea 
rtl88x2bs mmc2:0001:1: 0x110b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x110c0: 00 00 00 00 ea ea ea ea ea ea ea ea ea ea ea ea 
rtl88x2bs mmc2:0001:1: 0x110d0: 00 00 00 00 00 00 00 00 00 00 00 00 ea ea ea ea 
rtl88x2bs mmc2:0001:1: 0x110e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x110f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x11100: 00 00 00 07 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x11110: 00 00 00 00 ff 2f 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x11120: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x11130: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 20 
rtl88x2bs mmc2:0001:1: 0x11140: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x11150: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x11160: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x11170: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x11180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x11190: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x111a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x111b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x111c0: 00 00 00 00 01 00 10 03 10 20 30 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x111d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x111e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x111f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x11200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x11210: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x11220: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x11230: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x11240: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x11250: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x11260: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x11270: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x11280: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x11290: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x112a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x112b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x112c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x112d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x112e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x112f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x11300: ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea 
rtl88x2bs mmc2:0001:1: 0x11310: ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea 
rtl88x2bs mmc2:0001:1: 0x11320: ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea 
rtl88x2bs mmc2:0001:1: 0x11330: ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea 
rtl88x2bs mmc2:0001:1: 0x11340: ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea 
rtl88x2bs mmc2:0001:1: 0x11350: ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea 
rtl88x2bs mmc2:0001:1: 0x11360: ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea 
rtl88x2bs mmc2:0001:1: 0x11370: ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea 
rtl88x2bs mmc2:0001:1: 0x11380: ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea 
rtl88x2bs mmc2:0001:1: 0x11390: ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea 
rtl88x2bs mmc2:0001:1: 0x113a0: ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea 
rtl88x2bs mmc2:0001:1: 0x113b0: ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea 
rtl88x2bs mmc2:0001:1: 0x113c0: ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea 
rtl88x2bs mmc2:0001:1: 0x113d0: ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea 
rtl88x2bs mmc2:0001:1: 0x113e0: ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea 
rtl88x2bs mmc2:0001:1: 0x113f0: ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea 
rtl88x2bs mmc2:0001:1: 0x11400: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x11410: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x11420: 00 00 00 00 00 00 00 00 ff ff ff 0f ff ff ff 0f 
rtl88x2bs mmc2:0001:1: 0x11430: 03 03 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x11440: 00 00 00 00 00 00 00 00 04 08 04 08 04 08 04 08 
rtl88x2bs mmc2:0001:1: 0x11450: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x11460: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x11470: 00 00 00 10 00 00 00 00 00 00 00 10 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x11480: 40 01 00 00 f3 80 37 81 00 00 00 00 f8 00 00 01 
rtl88x2bs mmc2:0001:1: 0x11490: f8 00 00 01 00 00 00 00 f8 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x114a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x114b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x114c0: 00 10 01 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x114d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x114e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x114f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x11500: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x11510: 05 05 05 05 00 00 00 00 24 32 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x11520: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x11530: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x11540: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x11550: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x11560: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x11570: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x11580: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x11590: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x115a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x115b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x115c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x115d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x115e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x115f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x11600: 00 00 00 00 00 00 00 00 00 00 00 00 ff ff ff ff 
rtl88x2bs mmc2:0001:1: 0x11610: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x11620: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x11630: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x11640: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x11650: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x11660: 00 0b 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x11670: 00 00 00 00 00 00 00 00 00 00 00 00 70 48 2a 00 
rtl88x2bs mmc2:0001:1: 0x11680: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x11690: 00 00 00 00 00 00 00 02 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x116a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x116b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x116c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x116d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x116e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x116f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x11700: 00 00 00 20 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x11710: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x11720: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x11730: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x11740: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x11750: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x11760: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x11770: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x11780: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x11790: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x117a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x117b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x117c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x117d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x117e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x117f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: SDIO Local register:
rtl88x2bs mmc2:0001:1: 0x00:    56 00 00 0c e0 2e 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x10:    00 00 00 00 0f 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x20:    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x30:    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x40:    af 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x50:    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x60:    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x70:    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x80:    07 00 00 00 00 03 1a 00 0a 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x90:    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0xa0:    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0xb0:    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0xc0:    01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0xd0:    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0xe0:    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0xf0:    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: f0 register:
rtl88x2bs mmc2:0001:1: 0x00:    43 03 02 02 00 00 00 02 13 00 10 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x10:    00 00 01 03 07 00 01 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x20:    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x30:    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x40:    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x50:    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x60:    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x70:    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x80:    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x90:    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0xa0:    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0xb0:    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0xc0:    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0xd0:    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0xe0:    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0xf0:    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x100:   07 00 01 00 00 00 00 00 00 00 11 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x110:   00 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x120:   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x130:   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x140:   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x150:   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x160:   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x170:   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x180:   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x190:   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x1a0:   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x1b0:   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x1c0:   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x1d0:   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x1e0:   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
rtl88x2bs mmc2:0001:1: 0x1f0:   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
------------[ cut here ]------------
WARNING: CPU: 0 PID: 127 at drivers/rtl88x2BS/os_dep/linux/sdio_ops_linux.c:1329 rtw_sdio_raw_write+0x1d0/0x328 [rtl8822bs]
Modules linked in: rtl8822bs(+) cfg80211
CPU: 0 PID: 127 Comm: insmod Not tainted 4.9.37 #25
Hardware name: Generic DT based system
[] (unwind_backtrace) from [] (show_stack+0x10/0x14)
[] (show_stack) from [] (dump_stack+0x84/0x98)
[] (dump_stack) from [] (__warn+0xe8/0x100)
[] (__warn) from [] (warn_slowpath_null+0x20/0x28)
[] (warn_slowpath_null) from [] (rtw_sdio_raw_write+0x1d0/0x328 [rtl8822bs])
[] (rtw_sdio_raw_write [rtl8822bs]) from [] (sdio_io+0x270/0x31c [rtl8822bs])
[] (sdio_io [rtl8822bs]) from [] (rtw_sdio_write_cmd53+0x1c/0x24 [rtl8822bs])
[] (rtw_sdio_write_cmd53 [rtl8822bs]) from [] (_halmac_sdio_reg_write_32+0x48/0x98 [rtl8822bs])
[] (_halmac_sdio_reg_write_32 [rtl8822bs]) from [] (reg_w32_sdio_8822b+0x10c/0x110 [rtl8822bs])
[] (reg_w32_sdio_8822b [rtl8822bs]) from [] (mac_pwr_switch_sdio_8822b+0x1f8/0x2b4 [rtl8822bs])
[] (mac_pwr_switch_sdio_8822b [rtl8822bs]) from [] (rtw_halmac_poweron+0x70/0x1a0 [rtl8822bs])
[] (rtw_halmac_poweron [rtl8822bs]) from [] (rtl8822b_power_on+0x48/0xd0 [rtl8822bs])
[] (rtl8822b_power_on [rtl8822bs]) from [] (rtw_hal_power_on+0x18/0x44 [rtl8822bs])
[] (rtw_hal_power_on [rtl8822bs]) from [] (rtw_hal_read_chip_info+0x40/0xcc [rtl8822bs])
[] (rtw_hal_read_chip_info [rtl8822bs]) from [] (rtw_sdio_primary_adapter_init+0x118/0x1fc [rtl8822bs])
[] (rtw_sdio_primary_adapter_init [rtl8822bs]) from [] (rtw_drv_init+0x7c/0x1cc [rtl8822bs])
[] (rtw_drv_init [rtl8822bs]) from [] (sdio_bus_probe+0x108/0x11c)
[] (sdio_bus_probe) from [] (driver_probe_device+0x204/0x2b0)
[] (driver_probe_device) from [] (__driver_attach+0xb8/0xbc)
[] (__driver_attach) from [] (bus_for_each_dev+0x7c/0xc0)
[] (bus_for_each_dev) from [] (bus_add_driver+0x108/0x214)
[] (bus_add_driver) from [] (driver_register+0x78/0xf4)
[] (driver_register) from [] (rtw_drv_entry+0x100/0x164 [rtl8822bs])
[] (rtw_drv_entry [rtl8822bs]) from [] (do_one_initcall+0x54/0x190)
[] (do_one_initcall) from [] (do_init_module+0x60/0x37c)
[] (do_init_module) from [] (load_module+0x1a38/0x2014)
[] (load_module) from [] (SyS_init_module+0x16c/0x184)
[] (SyS_init_module) from [] (ret_fast_syscall+0x0/0x3c)
---[ end trace a185a98042b501ea ]---
rtl88x2bs mmc2:0001:1: rtw_sdio_raw_write: sdio write failed (-84)
rtl88x2bs mmc2:0001:1: rtw_sdio: WRITE use CMD53
rtl88x2bs mmc2:0001:1: rtw_sdio: WRITE to 0x00014, 4 bytes
rtw_sdio: WRITE 00000000: 0f 00 00 00
RTW: ERROR sdio_io: write FAIL! error(-2) addr=0x00014 4 bytes, retry=0,0
RTW: WARN sdio_io: Retry write addr=0x00014 4 bytes, retry=1,1
------------[ cut here ]------------
WARNING: CPU: 0 PID: 127 at drivers/rtl88x2BS/os_dep/linux/sdio_ops_linux.c:1329 rtw_sdio_raw_write+0x1d0/0x328 [rtl8822bs]
Modules linked in: rtl8822bs(+) cfg80211
CPU: 0 PID: 127 Comm: insmod Tainted: G        W       4.9.37 #25
Hardware name: Generic DT based system
[] (unwind_backtrace) from [] (show_stack+0x10/0x14)
[] (show_stack) from [] (dump_stack+0x84/0x98)
[] (dump_stack) from [] (__warn+0xe8/0x100)
[] (__warn) from [] (warn_slowpath_null+0x20/0x28)
[] (warn_slowpath_null) from [] (rtw_sdio_raw_write+0x1d0/0x328 [rtl8822bs])
[] (rtw_sdio_raw_write [rtl8822bs]) from [] (sdio_io+0x270/0x31c [rtl8822bs])
[] (sdio_io [rtl8822bs]) from [] (rtw_sdio_write_cmd53+0x1c/0x24 [rtl8822bs])
[] (rtw_sdio_write_cmd53 [rtl8822bs]) from [] (_halmac_sdio_reg_write_32+0x48/0x98 [rtl8822bs])
[] (_halmac_sdio_reg_write_32 [rtl8822bs]) from [] (reg_w32_sdio_8822b+0x10c/0x110 [rtl8822bs])
[] (reg_w32_sdio_8822b [rtl8822bs]) from [] (mac_pwr_switch_sdio_8822b+0x1f8/0x2b4 [rtl8822bs])
[] (mac_pwr_switch_sdio_8822b [rtl8822bs]) from [] (rtw_halmac_poweron+0x70/0x1a0 [rtl8822bs])
[] (rtw_halmac_poweron [rtl8822bs]) from [] (rtl8822b_power_on+0x48/0xd0 [rtl8822bs])
[] (rtl8822b_power_on [rtl8822bs]) from [] (rtw_hal_power_on+0x18/0x44 [rtl8822bs])
[] (rtw_hal_power_on [rtl8822bs]) from [] (rtw_hal_read_chip_info+0x40/0xcc [rtl8822bs])
[] (rtw_hal_read_chip_info [rtl8822bs]) from [] (rtw_sdio_primary_adapter_init+0x118/0x1fc [rtl8822bs])
[] (rtw_sdio_primary_adapter_init [rtl8822bs]) from [] (rtw_drv_init+0x7c/0x1cc [rtl8822bs])
[] (rtw_drv_init [rtl8822bs]) from [] (sdio_bus_probe+0x108/0x11c)
[] (sdio_bus_probe) from [] (driver_probe_device+0x204/0x2b0)
[] (driver_probe_device) from [] (__driver_attach+0xb8/0xbc)
[] (__driver_attach) from [] (bus_for_each_dev+0x7c/0xc0)
[] (bus_for_each_dev) from [] (bus_add_driver+0x108/0x214)
[] (bus_add_driver) from [] (driver_register+0x78/0xf4)
[] (driver_register) from [] (rtw_drv_entry+0x100/0x164 [rtl8822bs])
[] (rtw_drv_entry [rtl8822bs]) from [] (do_one_initcall+0x54/0x190)
[] (do_one_initcall) from [] (do_init_module+0x60/0x37c)
[] (do_init_module) from [] (load_module+0x1a38/0x2014)
[] (load_module) from [] (SyS_init_module+0x16c/0x184)
[] (SyS_init_module) from [] (ret_fast_syscall+0x0/0x3c)
---[ end trace a185a98042b501eb ]---
rtl88x2bs mmc2:0001:1: rtw_sdio_raw_write: sdio write failed (-84)
rtl88x2bs mmc2:0001:1: rtw_sdio: WRITE use CMD53
rtl88x2bs mmc2:0001:1: rtw_sdio: WRITE to 0x00014, 4 bytes
rtw_sdio: WRITE 00000000: 0f 00 00 00
RTW: ERROR sdio_io: write FAIL! error(-2) addr=0x00014 4 bytes, retry=1,1
RTW: WARN sdio_io: Retry write addr=0x00014 4 bytes, retry=2,2
------------[ cut here ]------------
WARNING: CPU: 0 PID: 127 at drivers/rtl88x2BS/os_dep/linux/sdio_ops_linux.c:1329 rtw_sdio_raw_write+0x1d0/0x328 [rtl8822bs]
Modules linked in: rtl8822bs(+) cfg80211
CPU: 0 PID: 127 Comm: insmod Tainted: G        W       4.9.37 #25
Hardware name: Generic DT based system
[] (unwind_backtrace) from [] (show_stack+0x10/0x14)
[] (show_stack) from [] (dump_stack+0x84/0x98)
[] (dump_stack) from [] (__warn+0xe8/0x100)
[] (__warn) from [] (warn_slowpath_null+0x20/0x28)
[] (warn_slowpath_null) from [] (rtw_sdio_raw_write+0x1d0/0x328 [rtl8822bs])
[] (rtw_sdio_raw_write [rtl8822bs]) from [] (sdio_io+0x270/0x31c [rtl8822bs])
[] (sdio_io [rtl8822bs]) from [] (rtw_sdio_write_cmd53+0x1c/0x24 [rtl8822bs])
[] (rtw_sdio_write_cmd53 [rtl8822bs]) from [] (_halmac_sdio_reg_write_32+0x48/0x98 [rtl8822bs])
[] (_halmac_sdio_reg_write_32 [rtl8822bs]) from [] (reg_w32_sdio_8822b+0x10c/0x110 [rtl8822bs])
[] (reg_w32_sdio_8822b [rtl8822bs]) from [] (mac_pwr_switch_sdio_8822b+0x1f8/0x2b4 [rtl8822bs])
[] (mac_pwr_switch_sdio_8822b [rtl8822bs]) from [] (rtw_halmac_poweron+0x70/0x1a0 [rtl8822bs])
[] (rtw_halmac_poweron [rtl8822bs]) from [] (rtl8822b_power_on+0x48/0xd0 [rtl8822bs])
[] (rtl8822b_power_on [rtl8822bs]) from [] (rtw_hal_power_on+0x18/0x44 [rtl8822bs])
[] (rtw_hal_power_on [rtl8822bs]) from [] (rtw_hal_read_chip_info+0x40/0xcc [rtl8822bs])
[] (rtw_hal_read_chip_info [rtl8822bs]) from [] (rtw_sdio_primary_adapter_init+0x118/0x1fc [rtl8822bs])
[] (rtw_sdio_primary_adapter_init [rtl8822bs]) from [] (rtw_drv_init+0x7c/0x1cc [rtl8822bs])
[] (rtw_drv_init [rtl8822bs]) from [] (sdio_bus_probe+0x108/0x11c)
[] (sdio_bus_probe) from [] (driver_probe_device+0x204/0x2b0)
[] (driver_probe_device) from [] (__driver_attach+0xb8/0xbc)
[] (__driver_attach) from [] (bus_for_each_dev+0x7c/0xc0)
[] (bus_for_each_dev) from [] (bus_add_driver+0x108/0x214)
[] (bus_add_driver) from [] (driver_register+0x78/0xf4)
[] (driver_register) from [] (rtw_drv_entry+0x100/0x164 [rtl8822bs])
[] (rtw_drv_entry [rtl8822bs]) from [] (do_one_initcall+0x54/0x190)
[] (do_one_initcall) from [] (do_init_module+0x60/0x37c)
[] (do_init_module) from [] (load_module+0x1a38/0x2014)
[] (load_module) from [] (SyS_init_module+0x16c/0x184)
[] (SyS_init_module) from [] (ret_fast_syscall+0x0/0x3c)
---[ end trace a185a98042b501ec ]---
rtl88x2bs mmc2:0001:1: rtw_sdio_raw_write: sdio write failed (-84)
rtl88x2bs mmc2:0001:1: rtw_sdio: WRITE use CMD53
rtl88x2bs mmc2:0001:1: rtw_sdio: WRITE to 0x00014, 4 bytes
rtw_sdio: WRITE 00000000: 0f 00 00 00
RTW: ERROR sdio_io: write FAIL! error(-2) addr=0x00014 4 bytes, retry=2,2
RTW: WARN sdio_io: Retry write addr=0x00014 4 bytes, retry=3,3
------------[ cut here ]------------
WARNING: CPU: 0 PID: 127 at drivers/rtl88x2BS/os_dep/linux/sdio_ops_linux.c:1329 rtw_sdio_raw_write+0x1d0/0x328 [rtl8822bs]
Modules linked in: rtl8822bs(+) cfg80211
CPU: 0 PID: 127 Comm: insmod Tainted: G        W       4.9.37 #25
Hardware name: Generic DT based system
[] (unwind_backtrace) from [] (show_stack+0x10/0x14)
[] (show_stack) from [] (dump_stack+0x84/0x98)
[] (dump_stack) from [] (__warn+0xe8/0x100)
[] (__warn) from [] (warn_slowpath_null+0x20/0x28)
[] (warn_slowpath_null) from [] (rtw_sdio_raw_write+0x1d0/0x328 [rtl8822bs])
[] (rtw_sdio_raw_write [rtl8822bs]) from [] (sdio_io+0x270/0x31c [rtl8822bs])
[] (sdio_io [rtl8822bs]) from [] (rtw_sdio_write_cmd53+0x1c/0x24 [rtl8822bs])
[] (rtw_sdio_write_cmd53 [rtl8822bs]) from [] (_halmac_sdio_reg_write_32+0x48/0x98 [rtl8822bs])
[] (_halmac_sdio_reg_write_32 [rtl8822bs]) from [] (reg_w32_sdio_8822b+0x10c/0x110 [rtl8822bs])
[] (reg_w32_sdio_8822b [rtl8822bs]) from [] (mac_pwr_switch_sdio_8822b+0x1f8/0x2b4 [rtl8822bs])
[] (mac_pwr_switch_sdio_8822b [rtl8822bs]) from [] (rtw_halmac_poweron+0x70/0x1a0 [rtl8822bs])
[] (rtw_halmac_poweron [rtl8822bs]) from [] (rtl8822b_power_on+0x48/0xd0 [rtl8822bs])
[] (rtl8822b_power_on [rtl8822bs]) from [] (rtw_hal_power_on+0x18/0x44 [rtl8822bs])
[] (rtw_hal_power_on [rtl8822bs]) from [] (rtw_hal_read_chip_info+0x40/0xcc [rtl8822bs])
[] (rtw_hal_read_chip_info [rtl8822bs]) from [] (rtw_sdio_primary_adapter_init+0x118/0x1fc [rtl8822bs])
[] (rtw_sdio_primary_adapter_init [rtl8822bs]) from [] (rtw_drv_init+0x7c/0x1cc [rtl8822bs])
[] (rtw_drv_init [rtl8822bs]) from [] (sdio_bus_probe+0x108/0x11c)
[] (sdio_bus_probe) from [] (driver_probe_device+0x204/0x2b0)
[] (driver_probe_device) from [] (__driver_attach+0xb8/0xbc)
[] (__driver_attach) from [] (bus_for_each_dev+0x7c/0xc0)
[] (bus_for_each_dev) from [] (bus_add_driver+0x108/0x214)
[] (bus_add_driver) from [] (driver_register+0x78/0xf4)
[] (driver_register) from [] (rtw_drv_entry+0x100/0x164 [rtl8822bs])
[] (rtw_drv_entry [rtl8822bs]) from [] (do_one_initcall+0x54/0x190)
[] (do_one_initcall) from [] (do_init_module+0x60/0x37c)
[] (do_init_module) from [] (load_module+0x1a38/0x2014)
[] (load_module) from [] (SyS_init_module+0x16c/0x184)
[] (SyS_init_module) from [] (ret_fast_syscall+0x0/0x3c)
---[ end trace a185a98042b501ed ]---
rtl88x2bs mmc2:0001:1: rtw_sdio_raw_write: sdio write failed (-84)
rtl88x2bs mmc2:0001:1: rtw_sdio: WRITE use CMD53
rtl88x2bs mmc2:0001:1: rtw_sdio: WRITE to 0x00014, 4 bytes
rtw_sdio: WRITE 00000000: 0f 00 00 00
RTW: ERROR sdio_io: write FAIL! error(-2) addr=0x00014 4 bytes, retry=3,3
RTW: WARN sdio_io: Retry write addr=0x00014 4 bytes, retry=4,4
------------[ cut here ]------------
WARNING: CPU: 0 PID: 127 at drivers/rtl88x2BS/os_dep/linux/sdio_ops_linux.c:1329 rtw_sdio_raw_write+0x1d0/0x328 [rtl8822bs]
Modules linked in: rtl8822bs(+) cfg80211
CPU: 0 PID: 127 Comm: insmod Tainted: G        W       4.9.37 #25
Hardware name: Generic DT based system
[] (unwind_backtrace) from [] (show_stack+0x10/0x14)
[] (show_stack) from [] (dump_stack+0x84/0x98)
[] (dump_stack) from [] (__warn+0xe8/0x100)
[] (__warn) from [] (warn_slowpath_null+0x20/0x28)
[] (warn_slowpath_null) from [] (rtw_sdio_raw_write+0x1d0/0x328 [rtl8822bs])
[] (rtw_sdio_raw_write [rtl8822bs]) from [] (sdio_io+0x270/0x31c [rtl8822bs])
[] (sdio_io [rtl8822bs]) from [] (rtw_sdio_write_cmd53+0x1c/0x24 [rtl8822bs])
[] (rtw_sdio_write_cmd53 [rtl8822bs]) from [] (_halmac_sdio_reg_write_32+0x48/0x98 [rtl8822bs])
[] (_halmac_sdio_reg_write_32 [rtl8822bs]) from [] (reg_w32_sdio_8822b+0x10c/0x110 [rtl8822bs])
[] (reg_w32_sdio_8822b [rtl8822bs]) from [] (mac_pwr_switch_sdio_8822b+0x1f8/0x2b4 [rtl8822bs])
[] (mac_pwr_switch_sdio_8822b [rtl8822bs]) from [] (rtw_halmac_poweron+0x70/0x1a0 [rtl8822bs])
[] (rtw_halmac_poweron [rtl8822bs]) from [] (rtl8822b_power_on+0x48/0xd0 [rtl8822bs])
[] (rtl8822b_power_on [rtl8822bs]) from [] (rtw_hal_power_on+0x18/0x44 [rtl8822bs])
[] (rtw_hal_power_on [rtl8822bs]) from [] (rtw_hal_read_chip_info+0x40/0xcc [rtl8822bs])
[] (rtw_hal_read_chip_info [rtl8822bs]) from [] (rtw_sdio_primary_adapter_init+0x118/0x1fc [rtl8822bs])
[] (rtw_sdio_primary_adapter_init [rtl8822bs]) from [] (rtw_drv_init+0x7c/0x1cc [rtl8822bs])
[] (rtw_drv_init [rtl8822bs]) from [] (sdio_bus_probe+0x108/0x11c)
[] (sdio_bus_probe) from [] (driver_probe_device+0x204/0x2b0)
[] (driver_probe_device) from [] (__driver_attach+0xb8/0xbc)
[] (__driver_attach) from [] (bus_for_each_dev+0x7c/0xc0)
[] (bus_for_each_dev) from [] (bus_add_driver+0x108/0x214)
[] (bus_add_driver) from [] (driver_register+0x78/0xf4)
[] (driver_register) from [] (rtw_drv_entry+0x100/0x164 [rtl8822bs])
[] (rtw_drv_entry [rtl8822bs]) from [] (do_one_initcall+0x54/0x190)
[] (do_one_initcall) from [] (do_init_module+0x60/0x37c)
[] (do_init_module) from [] (load_module+0x1a38/0x2014)
[] (load_module) from [] (SyS_init_module+0x16c/0x184)
[] (SyS_init_module) from [] (ret_fast_syscall+0x0/0x3c)
---[ end trace a185a98042b501ee ]---
rtl88x2bs mmc2:0001:1: rtw_sdio_raw_write: sdio write failed (-84)
rtl88x2bs mmc2:0001:1: rtw_sdio: WRITE use CMD53
rtl88x2bs mmc2:0001:1: rtw_sdio: WRITE to 0x00014, 4 bytes
rtw_sdio: WRITE 00000000: 0f 00 00 00
RTW: ERROR sdio_io: write FAIL! error(-2) addr=0x00014 4 bytes, retry=4,4
RTW: WARN sdio_io: Retry write addr=0x00014 4 bytes, retry=5,5
------------[ cut here ]------------
WARNING: CPU: 0 PID: 127 at drivers/rtl88x2BS/os_dep/linux/sdio_ops_linux.c:1329 rtw_sdio_raw_write+0x1d0/0x328 [rtl8822bs]
Modules linked in: rtl8822bs(+) cfg80211
CPU: 0 PID: 127 Comm: insmod Tainted: G        W       4.9.37 #25
Hardware name: Generic DT based system
[] (unwind_backtrace) from [] (show_stack+0x10/0x14)
[] (show_stack) from [] (dump_stack+0x84/0x98)
[] (dump_stack) from [] (__warn+0xe8/0x100)
[] (__warn) from [] (warn_slowpath_null+0x20/0x28)
[] (warn_slowpath_null) from [] (rtw_sdio_raw_write+0x1d0/0x328 [rtl8822bs])
[] (rtw_sdio_raw_write [rtl8822bs]) from [] (sdio_io+0x270/0x31c [rtl8822bs])
[] (sdio_io [rtl8822bs]) from [] (rtw_sdio_write_cmd53+0x1c/0x24 [rtl8822bs])
[] (rtw_sdio_write_cmd53 [rtl8822bs]) from [] (_halmac_sdio_reg_write_32+0x48/0x98 [rtl8822bs])
[] (_halmac_sdio_reg_write_32 [rtl8822bs]) from [] (reg_w32_sdio_8822b+0x10c/0x110 [rtl8822bs])
[] (reg_w32_sdio_8822b [rtl8822bs]) from [] (mac_pwr_switch_sdio_8822b+0x1f8/0x2b4 [rtl8822bs])
[] (mac_pwr_switch_sdio_8822b [rtl8822bs]) from [] (rtw_halmac_poweron+0x70/0x1a0 [rtl8822bs])
[] (rtw_halmac_poweron [rtl8822bs]) from [] (rtl8822b_power_on+0x48/0xd0 [rtl8822bs])
[] (rtl8822b_power_on [rtl8822bs]) from [] (rtw_hal_power_on+0x18/0x44 [rtl8822bs])
[] (rtw_hal_power_on [rtl8822bs]) from [] (rtw_hal_read_chip_info+0x40/0xcc [rtl8822bs])
[] (rtw_hal_read_chip_info [rtl8822bs]) from [] (rtw_sdio_primary_adapter_init+0x118/0x1fc [rtl8822bs])
[] (rtw_sdio_primary_adapter_init [rtl8822bs]) from [] (rtw_drv_init+0x7c/0x1cc [rtl8822bs])
[] (rtw_drv_init [rtl8822bs]) from [] (sdio_bus_probe+0x108/0x11c)
[] (sdio_bus_probe) from [] (driver_probe_device+0x204/0x2b0)
[] (driver_probe_device) from [] (__driver_attach+0xb8/0xbc)
[] (__driver_attach) from [] (bus_for_each_dev+0x7c/0xc0)
[] (bus_for_each_dev) from [] (bus_add_driver+0x108/0x214)
[] (bus_add_driver) from [] (driver_register+0x78/0xf4)
[] (driver_register) from [] (rtw_drv_entry+0x100/0x164 [rtl8822bs])
[] (rtw_drv_entry [rtl8822bs]) from [] (do_one_initcall+0x54/0x190)
[] (do_one_initcall) from [] (do_init_module+0x60/0x37c)
[] (do_init_module) from [] (load_module+0x1a38/0x2014)
[] (load_module) from [] (SyS_init_module+0x16c/0x184)
[] (SyS_init_module) from [] (ret_fast_syscall+0x0/0x3c)
---[ end trace a185a98042b501ef ]---
rtl88x2bs mmc2:0001:1: rtw_sdio_raw_write: sdio write failed (-84)
rtl88x2bs mmc2:0001:1: rtw_sdio: WRITE use CMD53
rtl88x2bs mmc2:0001:1: rtw_sdio: WRITE to 0x00014, 4 bytes
rtw_sdio: WRITE 00000000: 0f 00 00 00
RTW: ERROR sdio_io: write FAIL! error(-2) addr=0x00014 4 bytes, retry=5,5
RTW: WARN sdio_io: Retry write addr=0x00014 4 bytes, retry=6,6
------------[ cut here ]------------
WARNING: CPU: 0 PID: 127 at drivers/rtl88x2BS/os_dep/linux/sdio_ops_linux.c:1329 rtw_sdio_raw_write+0x1d0/0x328 [rtl8822bs]
Modules linked in: rtl8822bs(+) cfg80211
CPU: 0 PID: 127 Comm: insmod Tainted: G        W       4.9.37 #25
Hardware name: Generic DT based system
[] (unwind_backtrace) from [] (show_stack+0x10/0x14)
[] (show_stack) from [] (dump_stack+0x84/0x98)
[] (dump_stack) from [] (__warn+0xe8/0x100)
[] (__warn) from [] (warn_slowpath_null+0x20/0x28)
[] (warn_slowpath_null) from [] (rtw_sdio_raw_write+0x1d0/0x328 [rtl8822bs])
[] (rtw_sdio_raw_write [rtl8822bs]) from [] (sdio_io+0x270/0x31c [rtl8822bs])
[] (sdio_io [rtl8822bs]) from [] (rtw_sdio_write_cmd53+0x1c/0x24 [rtl8822bs])
[] (rtw_sdio_write_cmd53 [rtl8822bs]) from [] (_halmac_sdio_reg_write_32+0x48/0x98 [rtl8822bs])
[] (_halmac_sdio_reg_write_32 [rtl8822bs]) from [] (reg_w32_sdio_8822b+0x10c/0x110 [rtl8822bs])
[] (reg_w32_sdio_8822b [rtl8822bs]) from [] (mac_pwr_switch_sdio_8822b+0x1f8/0x2b4 [rtl8822bs])
[] (mac_pwr_switch_sdio_8822b [rtl8822bs]) from [] (rtw_halmac_poweron+0x70/0x1a0 [rtl8822bs])
[] (rtw_halmac_poweron [rtl8822bs]) from [] (rtl8822b_power_on+0x48/0xd0 [rtl8822bs])
[] (rtl8822b_power_on [rtl8822bs]) from [] (rtw_hal_power_on+0x18/0x44 [rtl8822bs])
[] (rtw_hal_power_on [rtl8822bs]) from [] (rtw_hal_read_chip_info+0x40/0xcc [rtl8822bs])
[] (rtw_hal_read_chip_info [rtl8822bs]) from [] (rtw_sdio_primary_adapter_init+0x118/0x1fc [rtl8822bs])
[] (rtw_sdio_primary_adapter_init [rtl8822bs]) from [] (rtw_drv_init+0x7c/0x1cc [rtl8822bs])
[] (rtw_drv_init [rtl8822bs]) from [] (sdio_bus_probe+0x108/0x11c)
[] (sdio_bus_probe) from [] (driver_probe_device+0x204/0x2b0)
[] (driver_probe_device) from [] (__driver_attach+0xb8/0xbc)
[] (__driver_attach) from [] (bus_for_each_dev+0x7c/0xc0)
[] (bus_for_each_dev) from [] (bus_add_driver+0x108/0x214)
[] (bus_add_driver) from [] (driver_register+0x78/0xf4)
[] (driver_register) from [] (rtw_drv_entry+0x100/0x164 [rtl8822bs])
[] (rtw_drv_entry [rtl8822bs]) from [] (do_one_initcall+0x54/0x190)
[] (do_one_initcall) from [] (do_init_module+0x60/0x37c)
[] (do_init_module) from [] (load_module+0x1a38/0x2014)
[] (load_module) from [] (SyS_init_module+0x16c/0x184)
[] (SyS_init_module) from [] (ret_fast_syscall+0x0/0x3c)
---[ end trace a185a98042b501f0 ]---
rtl88x2bs mmc2:0001:1: rtw_sdio_raw_write: sdio write failed (-84)
rtl88x2bs mmc2:0001:1: rtw_sdio: WRITE use CMD53
rtl88x2bs mmc2:0001:1: rtw_sdio: WRITE to 0x00014, 4 bytes
rtw_sdio: WRITE 00000000: 0f 00 00 00
RTW: ERROR sdio_io: write FAIL! error(-2) addr=0x00014 4 bytes, retry=6,6
RTW: WARN sdio_io: Retry write addr=0x00014 4 bytes, retry=7,7
------------[ cut here ]------------
WARNING: CPU: 0 PID: 127 at drivers/rtl88x2BS/os_dep/linux/sdio_ops_linux.c:1329 rtw_sdio_raw_write+0x1d0/0x328 [rtl8822bs]
Modules linked in: rtl8822bs(+) cfg80211
CPU: 0 PID: 127 Comm: insmod Tainted: G        W       4.9.37 #25
Hardware name: Generic DT based system
[] (unwind_backtrace) from [] (show_stack+0x10/0x14)
[] (show_stack) from [] (dump_stack+0x84/0x98)
[] (dump_stack) from [] (__warn+0xe8/0x100)
[] (__warn) from [] (warn_slowpath_null+0x20/0x28)
[] (warn_slowpath_null) from [] (rtw_sdio_raw_write+0x1d0/0x328 [rtl8822bs])
[] (rtw_sdio_raw_write [rtl8822bs]) from [] (sdio_io+0x270/0x31c [rtl8822bs])
[] (sdio_io [rtl8822bs]) from [] (rtw_sdio_write_cmd53+0x1c/0x24 [rtl8822bs])
[] (rtw_sdio_write_cmd53 [rtl8822bs]) from [] (_halmac_sdio_reg_write_32+0x48/0x98 [rtl8822bs])
[] (_halmac_sdio_reg_write_32 [rtl8822bs]) from [] (reg_w32_sdio_8822b+0x10c/0x110 [rtl8822bs])
[] (reg_w32_sdio_8822b [rtl8822bs]) from [] (mac_pwr_switch_sdio_8822b+0x1f8/0x2b4 [rtl8822bs])
[] (mac_pwr_switch_sdio_8822b [rtl8822bs]) from [] (rtw_halmac_poweron+0x70/0x1a0 [rtl8822bs])
[] (rtw_halmac_poweron [rtl8822bs]) from [] (rtl8822b_power_on+0x48/0xd0 [rtl8822bs])
[] (rtl8822b_power_on [rtl8822bs]) from [] (rtw_hal_power_on+0x18/0x44 [rtl8822bs])
[] (rtw_hal_power_on [rtl8822bs]) from [] (rtw_hal_read_chip_info+0x40/0xcc [rtl8822bs])
[] (rtw_hal_read_chip_info [rtl8822bs]) from [] (rtw_sdio_primary_adapter_init+0x118/0x1fc [rtl8822bs])
[] (rtw_sdio_primary_adapter_init [rtl8822bs]) from [] (rtw_drv_init+0x7c/0x1cc [rtl8822bs])
[] (rtw_drv_init [rtl8822bs]) from [] (sdio_bus_probe+0x108/0x11c)
[] (sdio_bus_probe) from [] (driver_probe_device+0x204/0x2b0)
[] (driver_probe_device) from [] (__driver_attach+0xb8/0xbc)
[] (__driver_attach) from [] (bus_for_each_dev+0x7c/0xc0)
[] (bus_for_each_dev) from [] (bus_add_driver+0x108/0x214)
[] (bus_add_driver) from [] (driver_register+0x78/0xf4)
[] (driver_register) from [] (rtw_drv_entry+0x100/0x164 [rtl8822bs])
[] (rtw_drv_entry [rtl8822bs]) from [] (do_one_initcall+0x54/0x190)
[] (do_one_initcall) from [] (do_init_module+0x60/0x37c)
[] (do_init_module) from [] (load_module+0x1a38/0x2014)
[] (load_module) from [] (SyS_init_module+0x16c/0x184)
[] (SyS_init_module) from [] (ret_fast_syscall+0x0/0x3c)
---[ end trace a185a98042b501f1 ]---
rtl88x2bs mmc2:0001:1: rtw_sdio_raw_write: sdio write failed (-84)
rtl88x2bs mmc2:0001:1: rtw_sdio: WRITE use CMD53
rtl88x2bs mmc2:0001:1: rtw_sdio: WRITE to 0x00014, 4 bytes
rtw_sdio: WRITE 00000000: 0f 00 00 00
RTW: ERROR sdio_io: write FAIL! error(-2) addr=0x00014 4 bytes, retry=7,7
RTW: WARN sdio_io: Retry write addr=0x00014 4 bytes, retry=8,8
------------[ cut here ]------------
WARNING: CPU: 0 PID: 127 at drivers/rtl88x2BS/os_dep/linux/sdio_ops_linux.c:1329 rtw_sdio_raw_write+0x1d0/0x328 [rtl8822bs]
Modules linked in: rtl8822bs(+) cfg80211
CPU: 0 PID: 127 Comm: insmod Tainted: G        W       4.9.37 #25
Hardware name: Generic DT based system
[] (unwind_backtrace) from [] (show_stack+0x10/0x14)
[] (show_stack) from [] (dump_stack+0x84/0x98)
[] (dump_stack) from [] (__warn+0xe8/0x100)
[] (__warn) from [] (warn_slowpath_null+0x20/0x28)
[] (warn_slowpath_null) from [] (rtw_sdio_raw_write+0x1d0/0x328 [rtl8822bs])
[] (rtw_sdio_raw_write [rtl8822bs]) from [] (sdio_io+0x270/0x31c [rtl8822bs])
[] (sdio_io [rtl8822bs]) from [] (rtw_sdio_write_cmd53+0x1c/0x24 [rtl8822bs])
[] (rtw_sdio_write_cmd53 [rtl8822bs]) from [] (_halmac_sdio_reg_write_32+0x48/0x98 [rtl8822bs])
[] (_halmac_sdio_reg_write_32 [rtl8822bs]) from [] (reg_w32_sdio_8822b+0x10c/0x110 [rtl8822bs])
[] (reg_w32_sdio_8822b [rtl8822bs]) from [] (mac_pwr_switch_sdio_8822b+0x1f8/0x2b4 [rtl8822bs])
[] (mac_pwr_switch_sdio_8822b [rtl8822bs]) from [] (rtw_halmac_poweron+0x70/0x1a0 [rtl8822bs])
[] (rtw_halmac_poweron [rtl8822bs]) from [] (rtl8822b_power_on+0x48/0xd0 [rtl8822bs])
[] (rtl8822b_power_on [rtl8822bs]) from [] (rtw_hal_power_on+0x18/0x44 [rtl8822bs])
[] (rtw_hal_power_on [rtl8822bs]) from [] (rtw_hal_read_chip_info+0x40/0xcc [rtl8822bs])
[] (rtw_hal_read_chip_info [rtl8822bs]) from [] (rtw_sdio_primary_adapter_init+0x118/0x1fc [rtl8822bs])
[] (rtw_sdio_primary_adapter_init [rtl8822bs]) from [] (rtw_drv_init+0x7c/0x1cc [rtl8822bs])
[] (rtw_drv_init [rtl8822bs]) from [] (sdio_bus_probe+0x108/0x11c)
[] (sdio_bus_probe) from [] (driver_probe_device+0x204/0x2b0)
[] (driver_probe_device) from [] (__driver_attach+0xb8/0xbc)
[] (__driver_attach) from [] (bus_for_each_dev+0x7c/0xc0)
[] (bus_for_each_dev) from [] (bus_add_driver+0x108/0x214)
[] (bus_add_driver) from [] (driver_register+0x78/0xf4)
[] (driver_register) from [] (rtw_drv_entry+0x100/0x164 [rtl8822bs])
[] (rtw_drv_entry [rtl8822bs]) from [] (do_one_initcall+0x54/0x190)
[] (do_one_initcall) from [] (do_init_module+0x60/0x37c)
[] (do_init_module) from [] (load_module+0x1a38/0x2014)
[] (load_module) from [] (SyS_init_module+0x16c/0x184)
[] (SyS_init_module) from [] (ret_fast_syscall+0x0/0x3c)
---[ end trace a185a98042b501f2 ]---
rtl88x2bs mmc2:0001:1: rtw_sdio_raw_write: sdio write failed (-84)
rtl88x2bs mmc2:0001:1: rtw_sdio: WRITE use CMD53
rtl88x2bs mmc2:0001:1: rtw_sdio: WRITE to 0x00014, 4 bytes
rtw_sdio: WRITE 00000000: 0f 00 00 00
RTW: ERROR sdio_io: write FAIL! error(-2) addr=0x00014 4 bytes, retry=8,8
RTW: [dvobj:de425000][ERROR] continual_io_error:9 > 8
RTW: ERROR sdio_io: Fatal error! Set surprise remove flag ON! (retry=9,9)
RTW: ERROR _halmac_sdio_reg_write_32: I/O FAIL!
RTW: ERROR sdio_io: bSurpriseRemoved, skip write 0x00040, 4 bytes
RTW: ERROR _halmac_sdio_reg_write_32: I/O FAIL!
RTW: ERROR sdio_io: bSurpriseRemoved, skip read 0x00042, 8 bytes
RTW: ERROR _halmac_sdio_reg_read_n: I/O FAIL!
RTW: ERROR sdio_io: bSurpriseRemoved, skip read 0x00042, 8 bytes
RTW: ERROR _halmac_sdio_reg_read_n: I/O FAIL!
RTW: ERROR sdio_io: bSurpriseRemoved, skip read 0x00042, 8 bytes
RTW: ERROR _halmac_sdio_reg_read_n: I/O FAIL!
RTW: ERROR sdio_io: bSurpriseRemoved, skip read 0x00042, 8 bytes
RTW: ERROR _halmac_sdio_reg_read_n: I/O FAIL!
RTW: ERROR sdio_io: bSurpriseRemoved, skip read 0x00042, 8 bytes
RTW: ERROR _halmac_sdio_reg_read_n: I/O FAIL!
RTW: ERROR sdio_io: bSurpriseRemoved, skip read 0x00042, 8 bytes
RTW: ERROR _halmac_sdio_reg_read_n: I/O FAIL!
RTW: ERROR sdio_io: bSurpriseRemoved, skip read 0x00042, 8 bytes
RTW: ERROR _halmac_sdio_reg_read_n: I/O FAIL!
RTW: ERROR sdio_io: bSurpriseRemoved, skip read 0x00042, 8 bytes
RTW: ERROR _halmac_sdio_reg_read_n: I/O FAIL!
RTW: ERROR sdio_io: bSurpriseRemoved, skip read 0x00042, 8 bytes
RTW: ERROR _halmac_sdio_reg_read_n: I/O FAIL!
RTW: ERROR sdio_io: bSurpriseRemoved, skip read 0x00042, 8 bytes
RTW: ERROR _halmac_sdio_reg_read_n: I/O FAIL!
RTW: ERROR sdio_io: bSurpriseRemoved, skip read 0x00042, 8 bytes

你可能感兴趣的:(海思)