Hi Daniel, >We didn't test the behavior of sdio_read/sdio_write API's when hardware is >not present. But they should just return an error. I ran some tests which confirmed that there is no harm in calling these API's when hardware is removed. They returned ENOMEDIUM error. Can you please review and verify attached patch? Thanks, Amitkumar Karwar
Attachment:
0001-mwifiex-disable-SDIO-interrupts-in-remove-handler.patch
Description: 0001-mwifiex-disable-SDIO-interrupts-in-remove-handler.patch