From d8bc33d70be38f4b4e040ec5563b6669845d02aa Mon Sep 17 00:00:00 2001 From: tanek liang Date: Thu, 7 Dec 2017 14:41:09 +0800 Subject: [PATCH] [DeviceDrivers] Fix missing mailbox after SDCard hot plug --- components/drivers/sdio/mmcsd_core.c | 1 + 1 file changed, 1 insertion(+) 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; } -- GitLab