[components][drivers][sdio]修复没有注册SDIO中断导致断言的问题
This commit is contained in:
parent
c64689147a
commit
78189dfb6b
|
@ -1171,6 +1171,7 @@ void sdio_irq_wakeup(struct rt_mmcsd_host *host)
|
||||||
{
|
{
|
||||||
if (host->flags & MMCSD_SUP_SDIO_IRQ)
|
if (host->flags & MMCSD_SUP_SDIO_IRQ)
|
||||||
host->ops->enable_sdio_irq(host, 0);
|
host->ops->enable_sdio_irq(host, 0);
|
||||||
|
if (host->sdio_irq_sem)
|
||||||
rt_sem_release(host->sdio_irq_sem);
|
rt_sem_release(host->sdio_irq_sem);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue