diff options
author | Magnus Templing <magnus.templing@stericsson.com> | 2011-11-17 11:47:39 +0100 |
---|---|---|
committer | Philippe Langlais <philippe.langlais@linaro.org> | 2012-03-19 09:01:03 +0100 |
commit | 9eaf6172df8408e32bca50879a40fc456849993a (patch) | |
tree | aef8bc643d221e35a41f0565f187ff0d1b7b0be0 /sound/soc | |
parent | 8d783cd5dd4313df7ca8d111679d0fd46733c324 (diff) |
Ux500 ASoC: Only turn off regulator on error
ST-Ericsson ID: 373275
ST-Ericsson Linux next: NA
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I671122a26da1a0cf3c69f0fb2c48a4365464ecfb
Signed-off-by: Magnus Templing <magnus.templing@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/38150
Reviewed-by: Ola LILJA2 <ola.o.lilja@stericsson.com>
Reviewed-by: QATOOLS
Tested-by: Tobias ANDERSON <tobias.xx.andersson@stericsson.com>
Reviewed-by: QABUILD
Diffstat (limited to 'sound/soc')
-rw-r--r-- | sound/soc/ux500/ux500_ab8500.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/ux500/ux500_ab8500.c b/sound/soc/ux500/ux500_ab8500.c index f9234c6c721..2eef499d22e 100644 --- a/sound/soc/ux500/ux500_ab8500.c +++ b/sound/soc/ux500/ux500_ab8500.c @@ -219,6 +219,8 @@ static int ux500_ab8500_power_control_inc(void) ab8500_audio_power_control(true); } + goto out; + clk_err: disable_regulator(REGULATOR_AUDIO); |