summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/sdhci_am654.c
diff options
context:
space:
mode:
authorJerome Brunet2019-05-23 16:59:50 +0200
committerUlf Hansson2019-05-28 10:23:26 +0200
commitc2c1e63a80d6e9bb9981fc958cd2dac5346212be (patch)
tree928ec2821589ec5f219ee83abb549b2bb9ad404a /drivers/mmc/host/sdhci_am654.c
parentmmc: tmio: fix SCC error handling to avoid false positive CRC error (diff)
downloadkernel-qcow2-linux-c2c1e63a80d6e9bb9981fc958cd2dac5346212be.tar.gz
kernel-qcow2-linux-c2c1e63a80d6e9bb9981fc958cd2dac5346212be.tar.xz
kernel-qcow2-linux-c2c1e63a80d6e9bb9981fc958cd2dac5346212be.zip
mmc: meson-gx: fix irq ack
While cleaning the ISR of the meson-gx and acking only raised irqs, the ack of the irq was moved at the very last stage of the function. This was stable during the initial tests but it triggered issues with hs200, under specific loads (like booting android). Acking the irqs after calling the mmc_request_done() causes the problem. Moving the ack back to the original place solves the issue. Since the irq is edge triggered, it does not hurt to ack irq even earlier, so let's do it early in the ISR. Fixes: 9c5fdb07a28d ("mmc: meson-gx: ack only raised irq") Tested-by: Neil Armstrong <narmstrong@baylibre.com> Tested-by: Kevin Hilman <khilman@baylibre.com> Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> Reviewed-by: Kevin Hilman <khilman@baylibre.com> Tested-by: Brad Harper <bjharper@gmail.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/host/sdhci_am654.c')
0 files changed, 0 insertions, 0 deletions