Hi ,
We are using BBB(am335x) based custom board with a Marvell's Wifi chip. We are using linux-3.12.10 kernel.
On boot up, If I insert the marvel driver, everything works fine i.e. it is able to probe successfully and able to be set as an AP etc etc. Therefore I’m pretty sure that the mmc interface is setup fine and the driver is using the correct interface.
If I remove the inserted driver then power down the wifi chip and power back up without rebooting AM335x (using a power down, GPIO pin of the wifi chip), I see that inserting the driver now fails with error as follows
"wlan_sdio: probe of mmc0:0001:1 failed with error -110"
Little more debigging I found that mmc_wait_for_cmd() in `linux-3.12/drivers/mmc/core/sdio_ops.c` is returning with error 110
Not completely sure what this is and why. Also not sure if this is a problem with the SDIO driver. Has any one faced similar issue???
Let me know if you need more details.
Thanks
Shankar