提交 78189dfb 编写于 作者: 还_没_想_好's avatar 还_没_想_好

[components][drivers][sdio]修复没有注册SDIO中断导致断言的问题

上级 c6468914
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册