mmc: core: fix the wrong response type for HPI command
PATCH 1/1 mmc: core: fix the wrong response type for HPI command
When used STOP_TRANSMISSION for hpi command, response-type should be R1B.
Signed-off-by Jaehoon Chung <[email protected]>
Signed-off-by Kyungmin Park <[email protected]>
--- drivers/mmc/core/mmc_ops.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/mmc/core/mmc_ops.c +1 -1
@@ -557,7 +557,7 @@ int mmc_send_hpi_cmd(struct mmc_card *card, u32 *status) opcode = card->ext_csd.hpi_cmd;if (opcode ==MMC_STOP_TRANSMISSION ) - flags =MMC_RSP_R1 |MMC_CMD_AC ; + flags =MMC_RSP_R1B |MMC_CMD_AC ;else if (opcode ==MMC_SEND_STATUS ) flags =MMC_RSP_R1 |MMC_CMD_AC ;