mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 12:17:12 +09:00
updata rk29_sdmmc
This commit is contained in:
@@ -1281,7 +1281,8 @@ static void rk29_sdmmc_detect_change(unsigned long data)
|
||||
|
||||
rk29_sdmmc_request_end(host, mrq);
|
||||
} else {
|
||||
list_del(&host->queue_node);
|
||||
if (host->queue_node.next && host->queue_node.prev)
|
||||
list_del(&host->queue_node);
|
||||
mrq->cmd->error = -ENOMEDIUM;
|
||||
if (mrq->data)
|
||||
mrq->data->error = -ENOMEDIUM;
|
||||
|
||||
Reference in New Issue
Block a user