From: Ravikumar Kattekola Date: Mon, 30 Jan 2017 10:11:56 +0000 (+0530) Subject: mmc: host: omap_hsmmc: reset cmd line on ceb error X-Git-Tag: v4.14-rc1~1479^2~30 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=24380dd4f8da47951ebaab26f9bfd398e83b186d;p=platform%2Fkernel%2Flinux-rpi.git mmc: host: omap_hsmmc: reset cmd line on ceb error When CEB (command end bit error) occurs reset CMD line to avoid system ending up in erroneous state. While command line is reset for CTO and CCRC errors, it's not done for CEB error. Fix it here. Reviewed-by: Kishon Vijay Abraham I Signed-off-by: Ravikumar Kattekola Signed-off-by: Sekhar Nori Signed-off-by: Ulf Hansson --- diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c index ad11c4c..0ee5650 100644 --- a/drivers/mmc/host/omap_hsmmc.c +++ b/drivers/mmc/host/omap_hsmmc.c @@ -1162,7 +1162,7 @@ static void omap_hsmmc_do_irq(struct omap_hsmmc_host *host, int status) if (status & ERR_EN) { omap_hsmmc_dbg_report_irq(host, status); - if (status & (CTO_EN | CCRC_EN)) + if (status & (CTO_EN | CCRC_EN | CEB_EN)) end_cmd = 1; if (host->data || host->response_busy) { end_trans = !end_cmd;