mmc: rk_sdmmc: reset cmd_status before request

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
This commit is contained in:
Shawn Lin
2015-08-20 16:03:42 +08:00
parent a433ed2a53
commit 7be1faace7

View File

@@ -1242,6 +1242,7 @@ static void __dw_mci_start_request(struct dw_mci *host,
host->pending_events = 0;
host->completed_events = 0;
host->data_status = 0;
host->cmd_status = 0;
data = cmd->data;
if (data) {