linux-stable/sound/soc/mediatek
Christophe JAILLET b6052c3c7a
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: 4bd8597dc3 ("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>
2021-06-08 13:36:46 +01:00
..
common ASoC: mediatek: mtk-btcvsd: Fix an error handling path in 'mtk_btcvsd_snd_probe()' 2021-06-08 13:36:46 +01:00
mt2701 ASoC: mediatek: mt2701: rename shadowed array 2021-03-12 14:29:53 +00:00
mt6797 ASoC: mediatek: sync parameter naming (rate/sample_bits) 2021-01-21 12:37:55 +00:00
mt8173 ASoC: mediatek: mt8173: rename local irq variable 2021-03-12 14:29:54 +00:00
mt8183 ASoC: mediatek: mt8183: support machine driver with rt1015p 2021-03-11 13:25:07 +00:00
mt8192 ASoC: mediatek: mt8192: Delete a redundant condition branch 2021-05-10 13:05:33 +01:00
Kconfig ASoC: mediatek: mt8183: support machine driver with rt1015p 2021-03-11 13:25:07 +00:00
Makefile ASoC: mediatek: mt8192: add platform driver 2020-11-04 17:51:47 +00:00