mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-18 11:43:34 +08:00
Merge pull request #1652 from enkiller/dev
[components][drivers][sdio]修复没有注册SDIO中断导致断言的问题
This commit is contained in:
commit
cd5ccea44c
@ -1171,7 +1171,8 @@ void sdio_irq_wakeup(struct rt_mmcsd_host *host)
|
||||
{
|
||||
if (host->flags & MMCSD_SUP_SDIO_IRQ)
|
||||
host->ops->enable_sdio_irq(host, 0);
|
||||
rt_sem_release(host->sdio_irq_sem);
|
||||
if (host->sdio_irq_sem)
|
||||
rt_sem_release(host->sdio_irq_sem);
|
||||
}
|
||||
|
||||
rt_int32_t sdio_enable_func(struct rt_sdio_function *func)
|
||||
|
Loading…
x
Reference in New Issue
Block a user