]> git.openfabrics.org - ~shefty/rdma-dev.git/blobdiff - drivers/mmc/host/omap_hsmmc.c
mmc: omap_hsmmc: No reset of cmd state machine for DCRC
[~shefty/rdma-dev.git] / drivers / mmc / host / omap_hsmmc.c
index 0fcf792af82374ff1ffa9085a3877fcb07a72028..2d90da888c47215b76a5deb8d47bdddbceef0f8f 100644 (file)
@@ -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;
        }