summaryrefslogtreecommitdiff
path: root/drivers/mmc/host/sdhci-pxav3.c
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2016-01-26 16:40:42 +0300
committerUlf Hansson <ulf.hansson@linaro.org>2016-02-29 13:03:16 +0300
commit054cedff5e025a54ceefff891c6ea42ee8b37eab (patch)
tree5f81cb7025cafb4ade9c578658e5b80a3ba56e61 /drivers/mmc/host/sdhci-pxav3.c
parentedd63fcc97cdb53279a7c43fa1691f5913d92793 (diff)
downloadlinux-054cedff5e025a54ceefff891c6ea42ee8b37eab.tar.xz
mmc: sdhci: plug DMA mapping leak on error
If we terminate a command early, we fail to properly clean up the DMA mappings for the data part of the request. Put this clean up to the tasklet, which is the common path for finishing a request so we always clean up after ourselves. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> [ Split original patch so that it now contains only the fix ] Signed-off-by: Adrian Hunter <adrian.hunter@intel.com> Cc: stable@vger.kernel.org # v4.5+ Tested-by: Gregory CLEMENT <gregory.clement@free-electrons.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/host/sdhci-pxav3.c')
0 files changed, 0 insertions, 0 deletions