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.

Linux: Initialising SDIO card fails with error -16

Tool/software: Linux

Hi I am using AM572x-evm board and Linux SDK 03.00.00.04 with Kernel 4.4.12.

we are using wifi module over SDIO.  I have enabled SDIO support required.

But I am getting following error for SDIO Initialization. Please let me know what need to be done.


[    2.293464] omap_hsmmc 480ad000.mmc: no pinctrl state for default mode
[    2.305555] mmc0: queuing unknown CIS tuple 0x80 (3 bytes)
[    2.313787] mmc0: queuing unknown CIS tuple 0x80 (7 bytes)
[    2.320796] mmc0: queuing unknown CIS tuple 0x80 (3 bytes)
[    2.405659] mmc0: queuing unknown CIS tuple 0x80 (6 bytes)
[    3.242120] error: mmc_sdio_init_card failed SDIO card
[    3.247296] mmc0: error -16 whilst initialising SDIO card

mmc_attach_sdio() calls mmc_sdio_init_card() which is failing in ./drivers/mmc/core/sdio.c file.