From: Greg Kroah-Hartman Date: Mon, 7 Jul 2014 20:59:56 +0000 (-0700) Subject: 3.10-stable patches X-Git-Tag: v3.4.98~22 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=645642976022449feced02641273a81388a27708;p=thirdparty%2Fkernel%2Fstable-queue.git 3.10-stable patches added patches: mmc-rtsx-add-r1-no-crc-mmc-command-type-handle.patch --- diff --git a/queue-3.10/mmc-rtsx-add-r1-no-crc-mmc-command-type-handle.patch b/queue-3.10/mmc-rtsx-add-r1-no-crc-mmc-command-type-handle.patch new file mode 100644 index 00000000000..8351b7e042c --- /dev/null +++ b/queue-3.10/mmc-rtsx-add-r1-no-crc-mmc-command-type-handle.patch @@ -0,0 +1,35 @@ +From 5027251eced6e34315a52bd841279df957f627bb Mon Sep 17 00:00:00 2001 +From: Micky Ching +Date: Thu, 27 Mar 2014 13:35:04 +0800 +Subject: mmc: rtsx: add R1-no-CRC mmc command type handle + +From: Micky Ching + +commit 5027251eced6e34315a52bd841279df957f627bb upstream. + +a27fbf2f067b0cd ("mmc: add ignorance case for CMD13 CRC error") produced +a cmd.flags unhandled in realtek pci host driver. This will make MMC +card fail to initialize, this patch is used to handle the new cmd.flags +condition and MMC card can be used. + +Signed-off-by: Micky Ching +Signed-off-by: Ulf Hansson +Signed-off-by: Chris Ball +Signed-off-by: Greg Kroah-Hartman + +--- + drivers/mmc/host/rtsx_pci_sdmmc.c | 3 +++ + 1 file changed, 3 insertions(+) + +--- a/drivers/mmc/host/rtsx_pci_sdmmc.c ++++ b/drivers/mmc/host/rtsx_pci_sdmmc.c +@@ -247,6 +247,9 @@ static void sd_send_cmd_get_rsp(struct r + case MMC_RSP_R1: + rsp_type = SD_RSP_TYPE_R1; + break; ++ case MMC_RSP_R1 & ~MMC_RSP_CRC: ++ rsp_type = SD_RSP_TYPE_R1 | SD_NO_CHECK_CRC7; ++ break; + case MMC_RSP_R1B: + rsp_type = SD_RSP_TYPE_R1b; + break; diff --git a/queue-3.10/series b/queue-3.10/series index cd8b691f482..0e8edcfa10a 100644 --- a/queue-3.10/series +++ b/queue-3.10/series @@ -43,3 +43,4 @@ tracing-remove-ftrace_stop-start-from-reading-the-trace-file.patch md-flush-writes-before-starting-a-recovery.patch md-make-sure-get_array_info-ioctl-reports-correct-clean-status.patch irqchip-spear_shirq-fix-interrupt-offset.patch +mmc-rtsx-add-r1-no-crc-mmc-command-type-handle.patch