From: Balaji T K Date: Mon, 19 Nov 2012 16:29:56 +0000 (+0530) Subject: mmc: omap_hsmmc: No reset of cmd state machine for DCRC X-Git-Tag: MMI-PSA29.97-13-9~15452^2~34 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=94d4f272d5ba21fdc77c368f30bbc43d2b453474;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git mmc: omap_hsmmc: No reset of cmd state machine for DCRC Avoid soft reset of command internal state machine on data errors. Signed-off-by: Balaji T K Reviewed-by: Felipe Balbi Signed-off-by: Venkatraman S Signed-off-by: Chris Ball --- diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c index 0fcf792af823..2d90da888c47 100644 --- a/drivers/mmc/host/omap_hsmmc.c +++ b/drivers/mmc/host/omap_hsmmc.c @@ -972,8 +972,8 @@ static inline void omap_hsmmc_reset_controller_fsm(struct omap_hsmmc_host *host, static void hsmmc_command_incomplete(struct omap_hsmmc_host *host, int err, int end_cmd) { - omap_hsmmc_reset_controller_fsm(host, SRC); if (end_cmd) { + omap_hsmmc_reset_controller_fsm(host, SRC); if (host->cmd) host->cmd->error = err; }