]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: renesas_sdhi_internal_dmac: Fix missing unmap in error patch
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Fri, 29 Jun 2018 10:01:44 +0000 (19:01 +0900)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 2 Jul 2018 14:13:06 +0000 (16:13 +0200)
commit4429ac896324402750bbee558dec99cd46ca8c92
treef05cd5be5e88b7042e2f991ff4e67c67e4ea1679
parentbd594001da828129ed149628b7cd368061398a51
mmc: renesas_sdhi_internal_dmac: Fix missing unmap in error patch

This patch fixes an issue that lacks the dma_unmap_sg() calling in
the error patch of renesas_sdhi_internal_dmac_start_dma().

Fixes: cda655f96c29 ("mmc: renesas_sdhi_internal_dmac: limit DMA RX for old SoCs")
Cc: <stable@vger.kernel.org> # v4.17+
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/renesas_sdhi_internal_dmac.c