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 <jason.zhu@rock-chips.com>
This commit is contained in:
Jason Zhu 2019-02-28 11:20:44 +08:00 committed by Jianhong Chen
parent 562a66d432
commit a0bf35b582
1 changed files with 1 additions and 1 deletions

View File

@ -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;