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)
commitfe6e04941aa12479a1a58656362bec74100bf7d7
treef05cd5be5e88b7042e2f991ff4e67c67e4ea1679
parent021c91791a5e7e85c567452f1be3e4c2c6cb6063
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: 0cbc94daa554 ("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