Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dc7745bd authored by Balaji T K's avatar Balaji T K Committed by Chris Ball
Browse files

mmc: omap_hsmmc: Update error code for response_busy cmd



Update error code to cmd->error for commands with response_busy and no data.

Signed-off-by: default avatarBalaji T K <balajitk@ti.com>
Reviewed-by: default avatarFelipe Balbi <balbi@ti.com>
Signed-off-by: default avatarVenkatraman S <svenkatr@ti.com>
Signed-off-by: default avatarChris Ball <cjb@laptop.org>
parent 94d4f272
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -981,8 +981,8 @@ static void hsmmc_command_incomplete(struct omap_hsmmc_host *host,
	if (host->data) {
		omap_hsmmc_reset_controller_fsm(host, SRD);
		omap_hsmmc_dma_cleanup(host, err);
	}

	} else if (host->mrq && host->mrq->cmd)
		host->mrq->cmd->error = err;
}

static void omap_hsmmc_do_irq(struct omap_hsmmc_host *host, int status)