]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
ASoC: codec: tlv320aic32x4: fix missing aic32x4_disable_regulators() in error path
authorMatthias Schiffer <matthias.schiffer@ew.tq-group.com>
Wed, 2 Sep 2020 13:30:42 +0000 (15:30 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 17 Sep 2020 16:40:07 +0000 (17:40 +0100)
commit251e5c8694db01cd10828e39c07f90d958d7b303
treea6d2824ea5b3163f49449d9289553981a79bc411
parentabe42b09118914f01246f880dd9029150fdc727c
ASoC: codec: tlv320aic32x4: fix missing aic32x4_disable_regulators() in error path

The regulators need to be disabled in the aic32x4_register_clocks()
failure case as well.

Fixes: 9d4befff5a95 ("ASoC: codec: tlv3204: Moving GPIO reset and add ADC reset")
Signed-off-by: Matthias Schiffer <matthias.schiffer@ew.tq-group.com>
Link: https://lore.kernel.org/r/20200902133043.19504-1-matthias.schiffer@ew.tq-group.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/tlv320aic32x4.c