mmc: sdhci-omap: Fix DCRC error handling during tuning
authorFaiz Abbas <faiz_abbas@ti.com>
Wed, 21 Nov 2018 10:33:55 +0000 (16:03 +0530)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 5 Dec 2018 12:01:23 +0000 (13:01 +0100)
commitdb2039fcfd5754d15986340152e4503737f68f8d
tree971cfa3c2783aa60c7f73d74b10bbd9f32d725c0
parente8cde625bfe8a714a856e1366bcbb259d7346095
mmc: sdhci-omap: Fix DCRC error handling during tuning

Commit 7d33c3581536 ("mmc: sdhci-omap: Workaround for Errata i802")
disabled DCRC interrupts during tuning. This write to the interrupt
enable register gets overwritten in sdhci_prepare_data() and the
interrupt is not in fact disabled. Fix this by disabling the interrupt
in the host->ier variable.

Fixes: 7d33c3581536 ("mmc: sdhci-omap: Workaround for Errata i802")
Cc: <stable@vger.kernel.org>
Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-omap.c