diff options
| author | Bernard Xiong <[email protected]> | 2020-02-28 17:48:47 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-02-28 17:48:47 +0800 |
| commit | 02722864d6204d1671c8409276a41b78d1d2a9e8 (patch) | |
| tree | 5f4b0e101b8204bf8b20c76151350bc719b0fff6 /components | |
| parent | 7b71c0e4ad8a8055e5038ce973a8a9ee3b4739e0 (diff) | |
| parent | e09c99fcfb052cf9b56d3197397a9498ffc03111 (diff) | |
Merge pull request #3418 from bigmagic123/raspi-64-sdio
fix raspi3-64 sdio driver
Diffstat (limited to 'components')
| -rw-r--r-- | components/drivers/sdio/mmcsd_core.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/components/drivers/sdio/mmcsd_core.c b/components/drivers/sdio/mmcsd_core.c index 8131a33133..99bc6ce744 100644 --- a/components/drivers/sdio/mmcsd_core.c +++ b/components/drivers/sdio/mmcsd_core.c @@ -610,7 +610,7 @@ RTM_EXPORT(mmcsd_wait_cd_changed); void mmcsd_change(struct rt_mmcsd_host *host) { - rt_mb_send(&mmcsd_detect_mb, (rt_uint32_t)host); + rt_mb_send(&mmcsd_detect_mb, (rt_ubase_t)host); } void mmcsd_detect(void *param) @@ -649,7 +649,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); + rt_mb_send(&mmcsd_hotpluge_mb, (rt_ubase_t)host); continue; } @@ -662,7 +662,7 @@ void mmcsd_detect(void *param) if (init_mmc(host, ocr)) mmcsd_power_off(host); mmcsd_host_unlock(host); - rt_mb_send(&mmcsd_hotpluge_mb, (rt_uint32_t)host); + rt_mb_send(&mmcsd_hotpluge_mb, (rt_ubase_t)host); continue; } mmcsd_host_unlock(host); @@ -683,7 +683,7 @@ void mmcsd_detect(void *param) host->card = RT_NULL; } mmcsd_host_unlock(host); - rt_mb_send(&mmcsd_hotpluge_mb, (rt_uint32_t)host); + rt_mb_send(&mmcsd_hotpluge_mb, (rt_ubase_t)host); } } } |
