diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2021-06-06 17:31:09 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-06-08 15:36:46 +0300 |
commit | b6052c3c7a78f5e2b9756c92ef77c0b56435f107 (patch) | |
tree | 993fa81feff308d962167ba7fb709b3f379f285a /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | d08c5b76b2706916743ba7a3fa1b4282ee0da27c (diff) | |
download | linux-b6052c3c7a78f5e2b9756c92ef77c0b56435f107.tar.xz |
ASoC: mediatek: mtk-btcvsd: Fix an error handling path in 'mtk_btcvsd_snd_probe()'
If an error occurs after a successful 'of_iomap()' call, it must be undone
by a corresponding 'iounmap()' call, as already done in the remove
function.
While at it, remove the useless initialization of 'ret' at the beginning of
the function.
Fixes: 4bd8597dc36c ("ASoC: mediatek: add btcvsd driver")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/0c2ba562c3364e61bfbd5b3013a99dfa0d9045d7.1622989685.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions