diff options
author | Balaji T K <balajitk@ti.com> | 2012-11-19 11:29:57 -0500 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2012-12-06 13:54:56 -0500 |
commit | dc7745bd32272a614a6598c05db4510548ef18f2 (patch) | |
tree | c4d2e712a205e252be05b933478dd6e55eaf05bb /drivers/mmc | |
parent | 94d4f272d5ba21fdc77c368f30bbc43d2b453474 (diff) |
mmc: omap_hsmmc: Update error code for response_busy cmd
Update error code to cmd->error for commands with response_busy and no data.
Signed-off-by: Balaji T K <balajitk@ti.com>
Reviewed-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Venkatraman S <svenkatr@ti.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc')
-rw-r--r-- | drivers/mmc/host/omap_hsmmc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c index 2d90da888c47..571cd80521c7 100644 --- a/drivers/mmc/host/omap_hsmmc.c +++ b/drivers/mmc/host/omap_hsmmc.c | |||
@@ -981,8 +981,8 @@ static void hsmmc_command_incomplete(struct omap_hsmmc_host *host, | |||
981 | if (host->data) { | 981 | if (host->data) { |
982 | omap_hsmmc_reset_controller_fsm(host, SRD); | 982 | omap_hsmmc_reset_controller_fsm(host, SRD); |
983 | omap_hsmmc_dma_cleanup(host, err); | 983 | omap_hsmmc_dma_cleanup(host, err); |
984 | } | 984 | } else if (host->mrq && host->mrq->cmd) |
985 | 985 | host->mrq->cmd->error = err; | |
986 | } | 986 | } |
987 | 987 | ||
988 | static void omap_hsmmc_do_irq(struct omap_hsmmc_host *host, int status) | 988 | static void omap_hsmmc_do_irq(struct omap_hsmmc_host *host, int status) |