]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
mmc: renesas_sdhi_internal_dmac: mask DMAC interrupts
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Wed, 22 Aug 2018 18:22:26 +0000 (21:22 +0300)
committerJuerg Haefliger <juergh@canonical.com>
Wed, 24 Jul 2019 01:46:06 +0000 (19:46 -0600)
commitd8b7733ee06a1f551cae6a6ca55bd7efeff34fb2
tree44be07b2dcc382e23949368660570b24038fda78
parentacfb1f96e86dd6f74ddb6a86d57033a975cca71f
mmc: renesas_sdhi_internal_dmac: mask DMAC interrupts

BugLink: https://bugs.launchpad.net/bugs/1835972
commit d2332f887ddfba50fee93b8e1736376517c2df0c upstream.

I have encountered an interrupt storm during the eMMC chip probing (and
the chip finally didn't get detected).  It turned out that U-Boot left
the SDHI DMA interrupts enabled while the Linux driver didn't use those.
Masking those interrupts in renesas_sdhi_internal_dmac_request_dma() gets
rid of both issues...

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Fixes: 2a68ea7896e3 ("mmc: renesas-sdhi: add support for R-Car Gen3 SDHI DMAC")
Cc: stable@vger.kernel.org # v4.14+
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
drivers/mmc/host/renesas_sdhi_internal_dmac.c