On Mon, Aug 06, 2018 at 04:28:47PM +0200, Niklas Söderlund wrote: > From: Masaharu Hayakawa <masaharu.hayakawa.ry@xxxxxxxxxxx> > > SDR104 and HS200 need to check for SCC error. If SCC error is detected, > retuning is necessary. Basically good. As of patch 1, we need to clarify HS400 handling. Maybe this commit message needs a tiny update then :) > Signed-off-by: Masaharu Hayakawa <masaharu.hayakawa.ry@xxxxxxxxxxx> > [Niklas: update commit message] > Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@xxxxxxxxxxxx> > --- > drivers/mmc/host/tmio_mmc_core.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/mmc/host/tmio_mmc_core.c b/drivers/mmc/host/tmio_mmc_core.c > index 261b4d62d2b1061f..268c4a3b728c775f 100644 > --- a/drivers/mmc/host/tmio_mmc_core.c > +++ b/drivers/mmc/host/tmio_mmc_core.c > @@ -919,8 +919,8 @@ static void tmio_mmc_finish_request(struct tmio_mmc_host *host) > if (mrq->cmd->error || (mrq->data && mrq->data->error)) > tmio_mmc_abort_dma(host); > > - if (host->check_scc_error) > - host->check_scc_error(host); > + if (host->check_scc_error && host->check_scc_error(host)) > + mrq->cmd->error = -EILSEQ; > > /* If SET_BLOCK_COUNT, continue with main command */ > if (host->mrq && !mrq->cmd->error) { > -- > 2.18.0 >
Attachment:
signature.asc
Description: PGP signature