* [PATCH] mmc: core: fix the wrong response type for HPI command
@ 2011-11-02 4:19 Jaehoon Chung
0 siblings, 0 replies; only message in thread
From: Jaehoon Chung @ 2011-11-02 4:19 UTC (permalink / raw)
To: linux-mmc; +Cc: Chris Ball, Kyungmin Park
When used STOP_TRANSMISSION for hpi command, response-type should be R1B.
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
---
drivers/mmc/core/mmc_ops.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/mmc/core/mmc_ops.c b/drivers/mmc/core/mmc_ops.c
index 007863e..17cc6e4 100644
--- a/drivers/mmc/core/mmc_ops.c
+++ b/drivers/mmc/core/mmc_ops.c
@@ -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;
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2011-11-02 4:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-02 4:19 [PATCH] mmc: core: fix the wrong response type for HPI command Jaehoon Chung
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.