From a0bf35b5828e532111a10d1b90bf6e9d401ce4a4 Mon Sep 17 00:00:00 2001 From: Jason Zhu Date: Thu, 28 Feb 2019 11:20:44 +0800 Subject: [PATCH] mmc: rpmb: correct MMC_RSP_R1b to MMC_RSP_R1 According to eMMC spec, the resp_type of MMC_CMD_WRITE_MULTIPLE_BLOCK is MMC_RSP_R1 but not MMC_RSP_R1b. If use MMC_RSP_R1b, this causes rpmb can not work with sdhci drive. Change-Id: I02ab825a4a526646079be6a7ae27326d1a3b7acf Signed-off-by: Jason Zhu --- drivers/mmc/rpmb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/rpmb.c b/drivers/mmc/rpmb.c index dda84de781..88136f0644 100644 --- a/drivers/mmc/rpmb.c +++ b/drivers/mmc/rpmb.c @@ -84,7 +84,7 @@ static int mmc_rpmb_request(struct mmc *mmc, const void *s, cmd.cmdidx = MMC_CMD_WRITE_MULTIPLE_BLOCK; cmd.cmdarg = 0; - cmd.resp_type = MMC_RSP_R1b; + cmd.resp_type = MMC_RSP_R1; data.src = (const char *)s; data.blocks = count;