]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
mmc: sdhci-iproc: suppress spurious interrupt with Multiblock read
authorSrinath Mannam <srinath.mannam@broadcom.com>
Thu, 18 May 2017 16:57:40 +0000 (22:27 +0530)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 22 May 2017 16:18:04 +0000 (18:18 +0200)
commitf5f968f2371ccdebb8a365487649673c9af68d09
tree0abe76b2601218b790c06886873b2bacad0c1300
parent8fb83b142823cdd1f85f78dcf9e861e9033919f9
mmc: sdhci-iproc: suppress spurious interrupt with Multiblock read

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.

Signed-off-by: Srinath Mannam <srinath.mannam@broadcom.com>
Reviewed-by: Ray Jui <ray.jui@broadcom.com>
Reviewed-by: Scott Branden <scott.branden@broadcom.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Fixes: b580c52d58d9 ("mmc: sdhci-iproc: add IPROC SDHCI driver")
Cc: <stable@vger.kernel.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-iproc.c