Merge pull request #1079 from TanekLiang/mmc_sd
[DeviceDrivers] Fix missing mailbox send after SDCard hot plug finished
This commit is contained in:
commit
d3ddf3b0a7
@ -655,6 +655,7 @@ void mmcsd_detect(void *param)
|
|||||||
if (init_sd(host, ocr))
|
if (init_sd(host, ocr))
|
||||||
mmcsd_power_off(host);
|
mmcsd_power_off(host);
|
||||||
mmcsd_host_unlock(host);
|
mmcsd_host_unlock(host);
|
||||||
|
rt_mb_send(&mmcsd_hotpluge_mb, (rt_uint32_t)host);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user