summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2017-12-07 18:32:34 +0800
committerGitHub <[email protected]>2017-12-07 18:32:34 +0800
commitd3ddf3b0a754afb7e25dee3f3522dcf0553f4244 (patch)
tree91bf54ca0f456ed6fc616d80e131d5b9f1bc7fab
parent3454484346f471ccdbee2cb1fc654edf37a388b0 (diff)
parentd8bc33d70be38f4b4e040ec5563b6669845d02aa (diff)
Merge pull request #1079 from TanekLiang/mmc_sd
[DeviceDrivers] Fix missing mailbox send after SDCard hot plug finished
-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;
}