mmc: rpmb: fix response type of CMD25
The response type of CMD25 is R1 instead of R1b.
Signed-off-by: Akio Hirayama <hirayama.akio@socionext.com>
[masahiro: add log ]
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
diff --git a/drivers/mmc/rpmb.c b/drivers/mmc/rpmb.c
index 908f192..33371fe 100644
--- a/drivers/mmc/rpmb.c
+++ b/drivers/mmc/rpmb.c
@@ -103,7 +103,7 @@
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 = 1;
@@ -327,7 +327,7 @@
{
struct mmc_cmd cmd = {
.cmdidx = MMC_CMD_WRITE_MULTIPLE_BLOCK,
- .resp_type = MMC_RSP_R1b,
+ .resp_type = MMC_RSP_R1,
};
struct mmc_data data = {
.src = (const void *)frm,