Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1569549
| From | Ravikumar Kattekola <rk@ti.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 1/3] mmc: host: omap_hsmmc: reset cmd line on ceb error |
| Date | 2017-01-30 11:20 +0100 |
| Message-ID | <t5he2-2Kr-25@gated-at.bofh.it> (permalink) |
| References | <t5he1-2Kr-17@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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 <kishon@ti.com>
Signed-off-by: Ravikumar Kattekola <rk@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
---
drivers/mmc/host/omap_hsmmc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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;
--
1.9.1
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 0/3] mmc: host: omap_hsmmc: miscellaneous fixes Ravikumar Kattekola <rk@ti.com> - 2017-01-30 11:20 +0100
[PATCH 1/3] mmc: host: omap_hsmmc: reset cmd line on ceb error Ravikumar Kattekola <rk@ti.com> - 2017-01-30 11:20 +0100
Re: [PATCH 0/3] mmc: host: omap_hsmmc: miscellaneous fixes Ulf Hansson <ulf.hansson@linaro.org> - 2017-01-31 11:20 +0100
Re: [PATCH 0/3] mmc: host: omap_hsmmc: miscellaneous fixes Ravikumar <rk@ti.com> - 2017-01-31 11:40 +0100
Re: [PATCH 0/3] mmc: host: omap_hsmmc: miscellaneous fixes Ulf Hansson <ulf.hansson@linaro.org> - 2017-01-31 12:00 +0100
csiph-web