summaryrefslogtreecommitdiff
path: root/components/drivers/sdio
diff options
context:
space:
mode:
authortanek liang <[email protected]>2017-12-07 14:41:09 +0800
committertanek liang <[email protected]>2017-12-07 14:44:16 +0800
commitd8bc33d70be38f4b4e040ec5563b6669845d02aa (patch)
tree1a65bf1db48816a9d086b39e7125f75b16e2a121 /components/drivers/sdio
parent049ed5047f49c8662933c51c12e9281daf24f836 (diff)
[DeviceDrivers] Fix missing mailbox after SDCard hot plug
Diffstat (limited to 'components/drivers/sdio')
-rw-r--r--components/drivers/sdio/mmcsd_core.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/drivers/sdio/mmcsd_core.c b/components/drivers/sdio/mmcsd_core.c
index a93d9329fb..d240dca400 100644
--- a/components/drivers/sdio/mmcsd_core.c
+++ b/components/drivers/sdio/mmcsd_core.c
@@ -655,6 +655,7 @@ void mmcsd_detect(void *param)
if (init_sd(host, ocr))
mmcsd_power_off(host);
mmcsd_host_unlock(host);
+ rt_mb_send(&mmcsd_hotpluge_mb, (rt_uint32_t)host);
continue;
}