summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorAlex Zhao <zzc@rock-chips.com>2017-09-19 19:59:26 +0800
committerHuang, Tao <huangtao@rock-chips.com>2017-09-20 11:30:35 +0800
commita7e71a03cf1fe23ce97bf07fb6143431f4abb8fa (patch)
tree1ebc6f9a8b4fb73f968f3f9bf6e33c4bad1e8850 /net
parent88a5404a227753592628f51b7db70b68e2fde2a6 (diff)
net: wireless: rockchip_wlan: ap6255: fix irq abnormal.
the dmesg log is like: [11244.133855] Call trace: [11244.133871] Exception stack(0xffffffc075cdf820 to 0xffffffc075cdf950) [11244.133885] f820: ffffffc07b7d6040 0000008000000000 000000000169f000 ffffff80089174c4 [11244.133899] f840: 00000000804001c5 ffffff800940b1e0 0000000000000000 ffffff80091ec000 [11244.133913] f860: 0000000000000040 ffffff8008bf7000 0000000000000140 ffffff80091ec000 [11244.133924] f880: ffffff800938a830 cb88537fdc8ba653 ffffffc075cdf8e0 ffffff80080f28ec [11244.133935] f8a0: ffffffc075cdf8b0 ffffff80080eabf0 ffffffc075cdf8e0 ffffff80080f29f8 [11244.133949] f8c0: ffffffc075cdf8e0 ffffff80080f2a28 ffffff800938a830 cb88537fdc8ba653 [11244.133963] f8e0: ffffffc07b41e400 0000000000000000 0000000000000000 0000000086098608 [11244.133975] f900: 0000000000000000 0000000000000000 00000000fffffffa ffffffc07b050580 [11244.133988] f920: ffffff80082fb318 7f7f7f7f7f7f7f7f 722d6367636c6261 7f7f7f7f7f7f7f7f [11244.133998] f940: 0101010101010101 0000000000000010 [11244.134024] [<ffffff80089174c4>] clk_core_disable+0x18/0x18c [11244.134039] [<ffffff80089178f0>] clk_disable+0x2c/0x40 [11244.134064] [<ffffff80083ab5a4>] rockchip_irq_gc_mask_set_bit+0x20/0x2c [11244.134086] [<ffffff80080f7788>] irq_shutdown+0x4c/0x68 [11244.134098] [<ffffff80080f556c>] __free_irq+0x100/0x20c [11244.134109] [<ffffff80080f5708>] free_irq+0x48/0x58 [11244.134129] [<ffffff80085c274c>] bcmsdh_oob_intr_unregister+0x8c/0xa0 [11244.134143] [<ffffff80085d1184>] dhd_bus_devreset+0x84/0x2c4 [11244.134166] [<ffffff80085a1754>] dhd_net_bus_devreset+0xc4/0x104 [11244.134190] [<ffffff80085b5aec>] wl_android_wifi_off+0xb8/0x10c [11244.134205] [<ffffff80085a5560>] dhd_stop+0x6c/0x1d0 [11244.134227] [<ffffff80089bdb14>] __dev_close_many+0x9c/0xc0 [11244.134237] [<ffffff80089bdc5c>] __dev_close+0x38/0x68 [11244.134253] [<ffffff80089c6170>] __dev_change_flags+0xa8/0x140 [11244.134264] [<ffffff80089c6228>] dev_change_flags+0x20/0x5c [11244.134290] [<ffffff8008a621a0>] devinet_ioctl+0x29c/0x60c [11244.134304] [<ffffff8008a63a70>] inet_ioctl+0xc0/0xec [11244.134327] [<ffffff80089a50f4>] sock_do_ioctl+0x30/0x5c [11244.134341] [<ffffff80089a63c0>] sock_ioctl+0x2d8/0x314 [11244.134365] [<ffffff80081c6fb8>] do_vfs_ioctl+0x5e4/0x720 [11244.134377] [<ffffff80081c7154>] SyS_ioctl+0x60/0x88 [11244.134400] [<ffffff8008082930>] el0_svc_naked+0x24/0x28 Change-Id: I93cffbf170e96ccb71da53123f61c78f0ffdc98a Signed-off-by: Alex Zhao <zzc@rock-chips.com>
Diffstat (limited to 'net')
-rw-r--r--net/rfkill/rfkill-wlan.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/net/rfkill/rfkill-wlan.c b/net/rfkill/rfkill-wlan.c
index 66accd5f84f2..319c44bd5b00 100644
--- a/net/rfkill/rfkill-wlan.c
+++ b/net/rfkill/rfkill-wlan.c
@@ -115,7 +115,9 @@ int get_wifi_chip_type(void)
} else if (strcmp(wifi_chip_type_string, "ap6181") == 0) {
type = WIFI_AP6181;
} else if (strcmp(wifi_chip_type_string, "ap6234") == 0) {
- type = WIFI_AP6234;
+ type = WIFI_AP6234;
+ } else if (strcmp(wifi_chip_type_string, "ap6255") == 0) {
+ type = WIFI_AP6255;
} else if (strcmp(wifi_chip_type_string, "ap6330") == 0) {
type = WIFI_AP6330;
} else if (strcmp(wifi_chip_type_string, "ap6335") == 0) {