I'm bringing up a custom AM3352 board with wl1271 Wifi module.
I can bring up the interface initially and transfer data, but after a few minutes I start seeing " wl1271: ERROR sdio read failed (-110)" messages, then just now got the stack dump below. I am using the 5.06 PSP. How can I fix this?
[ 621.299377] wl1271: ERROR sdio read failed (-110)
[ 621.304443] wl1271: ERROR command complete timeout
[ 621.312438] ------------[ cut here ]------------
[ 621.319549] WARNING: at drivers/net/wireless/wl12xx/cmd.c:107 wl1271_cmd_send+0x36c/0x3c8 [wl12xx]()
[ 621.331359] Modules linked in: wl12xx_sdio wl12xx mac80211 cfg80211
[ 621.339172] Backtrace:
[ 621.342315] [<c001bac4>] (dump_backtrace+0x0/0x10c) from [<c03ba4e4>] (dump_stack+0x18/0x1c)
[ 621.352691] r6:0000006b r5:bf0ffca8 r4:00000000 r3:00000002
[ 621.359130] [<c03ba4cc>] (dump_stack+0x0/0x1c) from [<c0044024>] (warn_slowpath_common+0x54/0x6c)
[ 621.369476] [<c0043fd0>] (warn_slowpath_common+0x0/0x6c) from [<c0044060>] (warn_slowpath_null+0x24/0x2c)
[ 621.380371] r8:00007bd2 r7:cf135e08 r6:00007b0a r5:ffffff92 r4:cf135760
[ 621.387756] r3:00000009
[ 621.390563] [<c004403c>] (warn_slowpath_null+0x0/0x2c) from [<bf0ffca8>] (wl1271_cmd_send+0x36c/0x3c8 [wl12xx])
[ 621.402191] [<bf0ff93c>] (wl1271_cmd_send+0x0/0x3c8 [wl12xx]) from [<bf101dec>] (wl12xx_cmd_stop_fwlog+0x4c/0x78 [wl12xx])
[ 621.414581] [<bf101da0>] (wl12xx_cmd_stop_fwlog+0x0/0x78 [wl12xx]) from [<bf0fef14>] (wl1271_recovery_work+0x1c8/0x2c8 [wl12xx])
[ 621.427429] r5:cf1357ac r4:cf135b50
[ 621.431243] [<bf0fed4c>] (wl1271_recovery_work+0x0/0x2c8 [wl12xx]) from [<c00596b0>] (process_one_work+0x190/0x448)
[ 621.443023] [<c0059520>] (process_one_work+0x0/0x448) from [<c005a2dc>] (worker_thread+0x15c/0x350)
[ 621.453186] [<c005a180>] (worker_thread+0x0/0x350) from [<c005e2a0>] (kthread+0x8c/0x94)
[ 621.462310] [<c005e214>] (kthread+0x0/0x94) from [<c0047368>] (do_exit+0x0/0x6a8)
[ 621.470794] r6:c0047368 r5:c005e214 r4:cf815eb0
[ 621.475830] ---[ end trace ce100cd8b4228f17 ]---
[ 621.480651] wl1271: ERROR failed to send stop firmware logger command
[ 627.081024] wl1271: ERROR sdio read failed (-110)
[ 632.680267] wl1271: ERROR sdio read failed (-110)
[ 638.281677] wl1271: ERROR sdio read failed (-110)
[ 638.288452] wl1271: Hardware recovery in progress. FW ver: Rev 6.3.0.0.77 pc: 0x1
[ 638.298187] wl1271: down
[ 638.301452] setting wifi radio off
[ 638.309906] ieee80211 phy0: Hardware restart was requested
[ 638.344757] setting wifi radio on
[ 639.046203] wl1271: firmware booted (Rev 6.3.0.0.77)
[ 639.155120] wl1271: Association completed.
[ 846.551544] wl1271: ERROR sdio read failed (-110)
[ 852.149261] wl1271: ERROR sdio read failed (-110)
[ 857.746826] wl1271: ERROR sdio write failed (-110)
[ 857.758728] wl1271: ERROR sdio write failed (-22)