From c60d5338e86549dd47e6fa951434f5c62e4375fb Mon Sep 17 00:00:00 2001 From: Magnus Templing Date: Thu, 17 Nov 2011 11:47:39 +0100 Subject: 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 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/38150 Reviewed-by: Ola LILJA2 Reviewed-by: QATOOLS Tested-by: Tobias ANDERSON Reviewed-by: QABUILD --- sound/soc/ux500/ux500_ab8500.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sound') 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); -- cgit v1.2.3