summaryrefslogtreecommitdiff
path: root/drivers/mmc/omap.c
diff options
context:
space:
mode:
authorPhilip Langdale <philipl@overt.org>2007-01-04 18:04:47 +0300
committerPierre Ossman <drzeus@drzeus.cx>2007-01-15 08:44:03 +0300
commit6f949909e8f9e5d7e5584dc48d9a5e060c52aed1 (patch)
tree0ffeb53000ea8f003fdbf5dc68d41da43777cbfe /drivers/mmc/omap.c
parent1b3b2631842ab60c1b7923bef102c610439ba3dd (diff)
downloadlinux-6f949909e8f9e5d7e5584dc48d9a5e060c52aed1.tar.xz
mmc: Correct definition of R6
During development of SDHC support, it was discovered that the definition for R6 was incorrect. This patch fixes that and patches the drivers that do switch on the response type. Signed-off-by: Philip Langdale <philipl@overt.org> Cc: Alex Dubov <oakad@yahoo.com> Cc: Pavel Pisa <ppisa@pikron.com> Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
Diffstat (limited to 'drivers/mmc/omap.c')
-rw-r--r--drivers/mmc/omap.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/mmc/omap.c b/drivers/mmc/omap.c
index 1e5407d44dfd..d30540b27614 100644
--- a/drivers/mmc/omap.c
+++ b/drivers/mmc/omap.c
@@ -208,7 +208,7 @@ mmc_omap_start_command(struct mmc_omap_host *host, struct mmc_command *cmd)
break;
case MMC_RSP_R1:
case MMC_RSP_R1B:
- /* resp 1, resp 1b */
+ /* resp 1, 1b, 6, 7 */
resptype = 1;
break;
case MMC_RSP_R2:
@@ -217,9 +217,6 @@ mmc_omap_start_command(struct mmc_omap_host *host, struct mmc_command *cmd)
case MMC_RSP_R3:
resptype = 3;
break;
- case MMC_RSP_R6:
- resptype = 6;
- break;
default:
dev_err(mmc_dev(host->mmc), "Invalid response type: %04x\n", mmc_resp_type(cmd));
break;