diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2020-12-09 20:42:02 +0100 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2021-02-01 11:54:42 +0100 |
commit | 5d15cbf63515c6183d2ed7c9dd0586b4db23ffb1 (patch) | |
tree | f47419a0c64d49dc36594ac7bb45623ecb3b217c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 0bb7e560f821c7770973a94e346654c4bdccd42c (diff) |
mmc: owl-mmc: Fix a resource leak in an error handling path and in the remove function
'dma_request_chan()' calls should be balanced by a corresponding
'dma_release_channel()' call.
Add the missing call both in the error handling path of the probe function
and in the remove function.
Fixes: ff65ffe46d28 ("mmc: Add Actions Semi Owl SoCs SD/MMC driver")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/20201209194202.54099-1-christophe.jaillet@wanadoo.fr
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions