- mmc-au1xmmc-return-errors-for-unknown-response-types.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     mmc: au1xmmc: return errors for unknown response types
has been removed from the -mm tree.  Its filename was
     mmc-au1xmmc-return-errors-for-unknown-response-types.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
Subject: mmc: au1xmmc: return errors for unknown response types
From: Manuel Lauss <mano@xxxxxxxxxxxxxxxxxxxxxxx>

au1xmmc: return error when encountering unhandled/unknown response type.

Signed-off-by: Manuel Lauss <mano@xxxxxxxxxxxxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 drivers/mmc/au1xmmc.c |    6 ++++++
 1 files changed, 6 insertions(+)

diff -puN drivers/mmc/au1xmmc.c~mmc-au1xmmc-return-errors-for-unknown-response-types drivers/mmc/au1xmmc.c
--- a/drivers/mmc/au1xmmc.c~mmc-au1xmmc-return-errors-for-unknown-response-types
+++ a/drivers/mmc/au1xmmc.c
@@ -193,6 +193,8 @@ static int au1xmmc_send_command(struct a
 	u32 mmccmd = (cmd->opcode << SD_CMD_CI_SHIFT);
 
 	switch (mmc_resp_type(cmd)) {
+	case MMC_RSP_NONE:
+		break;
 	case MMC_RSP_R1:
 		mmccmd |= SD_CMD_RT_1;
 		break;
@@ -205,6 +207,10 @@ static int au1xmmc_send_command(struct a
 	case MMC_RSP_R3:
 		mmccmd |= SD_CMD_RT_3;
 		break;
+	default:
+		printk(KERN_INFO "au1xmmc: unhandled response type %02x\n",
+			mmc_resp_type(cmd));
+		return MMC_ERR_INVALID;
 	}
 
 	switch(cmd->opcode) {
_

Patches currently in -mm which might be from mano@xxxxxxxxxxxxxxxxxxxxxxx are

git-mmc.patch
git-sh.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux