提交 94d4f272 编写于 作者: B Balaji T K 提交者: Chris Ball

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: NBalaji T K <balajitk@ti.com>
Reviewed-by: NFelipe Balbi <balbi@ti.com>
Signed-off-by: NVenkatraman S <svenkatr@ti.com>
Signed-off-by: NChris Ball <cjb@laptop.org>
上级 25e1897b
...@@ -972,8 +972,8 @@ static inline void omap_hsmmc_reset_controller_fsm(struct omap_hsmmc_host *host, ...@@ -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, static void hsmmc_command_incomplete(struct omap_hsmmc_host *host,
int err, int end_cmd) int err, int end_cmd)
{ {
omap_hsmmc_reset_controller_fsm(host, SRC);
if (end_cmd) { if (end_cmd) {
omap_hsmmc_reset_controller_fsm(host, SRC);
if (host->cmd) if (host->cmd)
host->cmd->error = err; host->cmd->error = err;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册