Skip to contentSkip to conversation

Patch "mmc: sdhci-iproc: suppress spurious interrupt with Multiblock read" has been added to the 4.9-stable tree

PATCH [email protected] 1 participant 1 message Jun 5, 2017

Subsystems (4)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

mmc: sdhci-iproc: suppress spurious interrupt with Multiblock read

to the 4.9-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
mmc-sdhci-iproc-suppress-spurious-interrupt-with-multiblock-read.patch
and it can be found in the queue-4.9 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From f5f968f2371ccdebb8a365487649673c9af68d09 Mon Sep 17 00:00:00 2001

From: Srinath Mannam <[email protected]>
Date: Thu, 18 May 2017 22:27:40 +0530
Subject: mmc: sdhci-iproc: suppress spurious interrupt with Multiblock read

From: Srinath Mannam <[email protected]>

commit f5f968f2371ccdebb8a365487649673c9af68d09 upstream.

The stingray SDHCI hardware supports ACMD12 and automatically issues after multi block transfer completed.

If ACMD12 in SDHCI is disabled, spurious tx done interrupts are seen on multi block read command with below error message:

Got data interrupt 0x00000002 even though no data
operation was in progress.

This patch uses SDHCI_QUIRK_MULTIBLOCK_READ_ACMD12 to enable ACM12 support in SDHCI hardware and suppress spurious interrupt.

Fixes b580c52d58d9 ("mmc: sdhci-iproc: add IPROC SDHCI driver")
---
 drivers/mmc/host/sdhci-iproc.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/mmc/host/sdhci-iproc.c +2 -1
@@ -157,7 +157,8 @@ static const struct sdhci_ops sdhci_ipro
 };
 
 static const struct sdhci_pltfm_data sdhci_iproc_pltfm_data = {
-	.quirks = SDHCI_QUIRK_DATA_TIMEOUT_USES_SDCLK,
+	.quirks = SDHCI_QUIRK_DATA_TIMEOUT_USES_SDCLK |
+		  SDHCI_QUIRK_MULTIBLOCK_READ_ACMD12,
 	.quirks2 = SDHCI_QUIRK2_ACMD23_BROKEN,
 	.ops = &sdhci_iproc_ops,
 };

Patches currently in stable-queue which might be from [email protected] are

queue-4.9/mmc-sdhci-iproc-suppress-spurious-interrupt-with-multiblock-read.patch