diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2020-12-18 00:09:22 +0300 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2021-02-01 13:54:42 +0300 |
commit | 6052b3c370fb82dec28bcfff6d7ec0da84ac087a (patch) | |
tree | 9a093b71f6a1ea7fa66f106a8d23fa0fa92c2d4f /drivers/mmc/host/sdhci-of-dwcmshc.c | |
parent | c9c256a8b0dc09c305c409d6264cc016af2ba38d (diff) | |
download | linux-6052b3c370fb82dec28bcfff6d7ec0da84ac087a.tar.xz |
mmc: usdhi6rol0: Fix a resource leak in the error handling path of the probe
A call to 'ausdhi6_dma_release()' to undo a previous call to
'usdhi6_dma_request()' is missing in the error handling path of the probe
function.
It is already present in the remove function.
Fixes: 75fa9ea6e3c0 ("mmc: add a driver for the Renesas usdhi6rol0 SD/SDIO host controller")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/20201217210922.165340-1-christophe.jaillet@wanadoo.fr
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/host/sdhci-of-dwcmshc.c')
0 files changed, 0 insertions, 0 deletions