Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0f0e2528 authored by Jarkko Nikula's avatar Jarkko Nikula Committed by Mark Brown
Browse files

ASoC: Fix build error caused by merging a fix for 2.6.37 into 2.6.38



Fix "ASoC: Fix bias power down of non-DAPM codec" for 3.6.37 will cause a
build error when merging into ASoC for-2.6.38. Fix the issue by doing a
change that commit ce6120cc "ASoC: Decouple DAPM from CODECs" would do.

Signed-off-by: default avatarJarkko Nikula <jhnikula@gmail.com>
Acked-by: default avatarLiam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 90986dc9
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -982,7 +982,7 @@ static int dapm_power_widgets(struct snd_soc_dapm_context *dapm, int event)
			sys_power = 1;
			sys_power = 1;
			break;
			break;
		case SND_SOC_DAPM_STREAM_STOP:
		case SND_SOC_DAPM_STREAM_STOP:
			sys_power = !!codec->active;
			sys_power = !!dapm->codec->active;
			break;
			break;
		case SND_SOC_DAPM_STREAM_SUSPEND:
		case SND_SOC_DAPM_STREAM_SUSPEND:
			sys_power = 0;
			sys_power = 0;