ASoC: codec: tlv320adc3xxx: Fix missing clk_disable_unprepare() on error in adc3xxx_i...
authorYang Yingliang <yangyingliang@huawei.com>
Thu, 23 Dec 2021 08:22:12 +0000 (16:22 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 23 Dec 2021 13:38:36 +0000 (13:38 +0000)
commit8a2d8e4fed6d5829ec3681af313d63e02bc22dad
treea5579e43345ed747f0e288f0b3fd8b1e197572db
parent37daf8d9e0bd85a2859721aec28e1eb6e9973262
ASoC: codec: tlv320adc3xxx: Fix missing clk_disable_unprepare() on error in adc3xxx_i2c_probe()

Fix the missing clk_disable_unprepare() before return
from adc3xxx_i2c_probe() in the error handling case.

Fixes: e9a3b57efd28 ("ASoC: codec: tlv320adc3xxx: New codec driver")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Link: https://lore.kernel.org/r/20211223082212.3342184-1-yangyingliang@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/tlv320adc3xxx.c