aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mmc')
-rw-r--r--drivers/mmc/au1xmmc.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/mmc/au1xmmc.c b/drivers/mmc/au1xmmc.c
index 212e41f78df4..6d6fe6e6d415 100644
--- a/drivers/mmc/au1xmmc.c
+++ b/drivers/mmc/au1xmmc.c
@@ -194,6 +194,8 @@ static int au1xmmc_send_command(struct au1xmmc_host *host, int wait,
194 u32 mmccmd = (cmd->opcode << SD_CMD_CI_SHIFT); 194 u32 mmccmd = (cmd->opcode << SD_CMD_CI_SHIFT);
195 195
196 switch (mmc_resp_type(cmd)) { 196 switch (mmc_resp_type(cmd)) {
197 case MMC_RSP_NONE:
198 break;
197 case MMC_RSP_R1: 199 case MMC_RSP_R1:
198 mmccmd |= SD_CMD_RT_1; 200 mmccmd |= SD_CMD_RT_1;
199 break; 201 break;
@@ -206,6 +208,10 @@ static int au1xmmc_send_command(struct au1xmmc_host *host, int wait,
206 case MMC_RSP_R3: 208 case MMC_RSP_R3:
207 mmccmd |= SD_CMD_RT_3; 209 mmccmd |= SD_CMD_RT_3;
208 break; 210 break;
211 default:
212 printk(KERN_INFO "au1xmmc: unhandled response type %02x\n",
213 mmc_resp_type(cmd));
214 return MMC_ERR_INVALID;
209 } 215 }
210 216
211 switch(cmd->opcode) { 217 switch(cmd->opcode) {