Merge pull request #1079 from TanekLiang/mmc_sd

[DeviceDrivers] Fix missing mailbox send after SDCard hot plug finished
This commit is contained in:
Bernard Xiong 2017-12-07 18:32:34 +08:00 committed by GitHub
commit d3ddf3b0a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}