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-Url: https://git.stricted.de/?a=commitdiff_plain;h=94d4f272d5ba21fdc77c368f30bbc43d2b453474;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.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; }