This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

sdio write failed with Wl183x for TI-AM335x

Other Parts Discussed in Thread: WL1271

Hello all,

I am interfacing Wl183x with TI-AM335x Customization Board.

I have compiled my driver with Linux-3.12.30.

When i am loading the drivers, I am getting following error.

$ modprobe wl18xx
[   39.061715] ------------[ cut here ]------------
[   39.066720] WARNING: CPU: 0 PID: 48 at drivers/net/wireless/ti/wlcore/sdio.c:145 wl12xx_sdio_raw_write+0xb0/0x130 [wlcore_sdio]()
[   39.079183] Modules linked in: wl18xx wlcore_sdio wlcore mac80211 cfg80211 ipv6
[   39.087125] CPU: 0 PID: 48 Comm: kworker/0:1 Not tainted 3.12.30-dirty #7
[   39.094419] Workqueue: events request_firmware_work_func
[   39.100080] Backtrace: 
[   39.102777] [<c00184f8>] (dump_backtrace+0x0/0x10c) from [<c0018694>] (show_stack+0x18/0x1c)
[   39.111785]  r6:bf11a25c r5:00000009 r4:00000000 r3:00000000
[   39.117884] [<c001867c>] (show_stack+0x0/0x1c) from [<c05fafb4>] (dump_stack+0x80/0x9c)
[   39.126469] [<c05faf34>] (dump_stack+0x0/0x9c) from [<c004af34>] (warn_slowpath_common+0x70/0x94)
[   39.135936]  r4:00000000 r3:00000000
[   39.139796] [<c004aec4>] (warn_slowpath_common+0x0/0x94) from [<c004af7c>] (warn_slowpath_null+0x24/0x2c)
[   39.149999]  r8:00000004 r7:ddde4700 r6:ddc6bc10 r5:0001ffc4 r4:ddb28600
[   39.157264] [<c004af58>] (warn_slowpath_null+0x0/0x2c) from [<bf11a25c>] (wl12xx_sdio_raw_write+0xb0/0x130 [wlcore_sdio])
[   39.169120] [<bf11a1ac>] (wl12xx_sdio_raw_write+0x0/0x130 [wlcore_sdio]) from [<bf0f0400>] (wlcore_set_partition+0xcc/0x444 [wlcore])
[   39.182041] [<bf0f0334>] (wlcore_set_partition+0x0/0x444 [wlcore]) from [<bf0e4234>] (wl12xx_set_power_on+0x78/0x128 [wlcore])
[   39.194185]  r7:bf105b1c r6:ddc6bc00 r5:00000000 r4:ddc20ce0
[   39.200361] [<bf0e41bc>] (wl12xx_set_power_on+0x0/0x128 [wlcore]) from [<bf0eaf0c>] (wlcore_nvs_cb+0x148/0x980 [wlcore])
[   39.211951]  r5:ddde4640 r4:ddc20ce0
[   39.215854] [<bf0eadc4>] (wlcore_nvs_cb+0x0/0x980 [wlcore]) from [<c03adcb8>] (request_firmware_work_func+0x40/0x60)
[   39.227114] [<c03adc78>] (request_firmware_work_func+0x0/0x60) from [<c0060be8>] (process_one_work+0x11c/0x37c)
[   39.237874]  r4:dd8f2c40
[   39.240615] [<c0060acc>] (process_one_work+0x0/0x37c) from [<c0060fc0>] (worker_thread+0x13c/0x3c0)
[   39.250302] [<c0060e84>] (worker_thread+0x0/0x3c0) from [<c006775c>] (kthread+0xac/0xb8)
[   39.258979] [<c00676b0>] (kthread+0x0/0xb8) from [<c0014958>] (ret_from_fork+0x14/0x3c)
[   39.267530]  r7:00000000 r6:00000000 r5:c00676b0 r4:dd88fe60
[   39.273647] ---[ end trace eebaea50cd07ceef ]---
[   39.278583] wl1271_sdio mmc1:0001:2: sdio write failed (-84)
[   39.286986] wlcore: ERROR couldn't get hw info

What might be the issue, could anybody suggest me ?

Thanks in advance.

Best Regards,
Bhaskar