summaryrefslogtreecommitdiff
path: root/components/drivers
diff options
context:
space:
mode:
authorWayne Lin <[email protected]>2021-11-29 16:13:28 +0800
committerBernard Xiong <[email protected]>2021-12-24 05:36:12 +0800
commit600e67f952ab5ffa41084668520fe09015ac37c0 (patch)
tree44cffe091c98e65207ef367a4df88cf30a26e49c /components/drivers
parent7e6ffd3447ef8581d6bebe481a46a78451775e6e (diff)
Revert to RT_IPC_FLAG_PRIO.
Diffstat (limited to 'components/drivers')
-rw-r--r--components/drivers/sdio/mmcsd_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/drivers/sdio/mmcsd_core.c b/components/drivers/sdio/mmcsd_core.c
index a1a0af95f4..b4e08e5583 100644
--- a/components/drivers/sdio/mmcsd_core.c
+++ b/components/drivers/sdio/mmcsd_core.c
@@ -711,7 +711,7 @@ struct rt_mmcsd_host *mmcsd_alloc_host(void)
host->id = allocated_host_num;
allocated_host_num++;
- rt_mutex_init(&host->bus_lock, "sd_bus_lock", RT_IPC_FLAG_FIFO);
+ rt_mutex_init(&host->bus_lock, "sd_bus_lock", RT_IPC_FLAG_PRIO);
rt_sem_init(&host->sem_ack, "sd_ack", 0, RT_IPC_FLAG_FIFO);
return host;