diff options
author | Balaji T K <balajitk@ti.com> | 2012-11-19 11:29:56 -0500 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2012-12-06 13:54:55 -0500 |
commit | 94d4f272d5ba21fdc77c368f30bbc43d2b453474 (patch) | |
tree | e0c28e88c33952c8ffe9c9688633b40441406247 | |
parent | 25e1897bf59b917a696b84b8cf28a5373157404d (diff) |
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 <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>
-rw-r--r-- | drivers/mmc/host/omap_hsmmc.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, | |||
972 | static void hsmmc_command_incomplete(struct omap_hsmmc_host *host, | 972 | static void hsmmc_command_incomplete(struct omap_hsmmc_host *host, |
973 | int err, int end_cmd) | 973 | int err, int end_cmd) |
974 | { | 974 | { |
975 | omap_hsmmc_reset_controller_fsm(host, SRC); | ||
976 | if (end_cmd) { | 975 | if (end_cmd) { |
976 | omap_hsmmc_reset_controller_fsm(host, SRC); | ||
977 | if (host->cmd) | 977 | if (host->cmd) |
978 | host->cmd->error = err; | 978 | host->cmd->error = err; |
979 | } | 979 | } |