forked from Minki/linux
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>
This commit is contained in:
parent
25e1897bf5
commit
94d4f272d5
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user