Skip to contentSkip to conversation

ASoC: wm8940: Properly set codec->bias_level

PATCH New Axel Lin 1 participant 1 message Nov 9, 2011 Stable branch

lore
Share & tools
lore

Axel Lin

author
#0 lore raw

PATCH 1/1 ASoC: wm8940: Properly set codec->bias_level

---
Due to API change, the patch "ASoC: wm8940: Properly set codec->dapm.bias_level" won't build in linux-2.6.32. Thus we need this revision for 2.6.32. This patch is against linux-2.6.32.

Regards,
Axel

 sound/soc/codecs/wm8940.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
sound/soc/codecs/wm8940.c +1 -0
index 1ef2454..de081df 100644
@@ -472,6 +472,7 @@ static int wm8940_set_bias_level(struct snd_soc_codec *codec,
 		ret = snd_soc_write(codec, WM8940_POWER1, pwr_reg);
 		break;
 	}
+	codec->bias_level = level;
 
 	return ret;
 }
Signature · 1 line
1.7.5.4