All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ASoC: cs35l33: Remove setting dapm->bias_level in cs35l33_set_bias_level
@ 2016-06-28 10:36 Axel Lin
  2016-06-28 14:30 ` Handrigan, Paul
  2016-06-28 19:56 ` Applied "ASoC: cs35l33: Remove setting dapm->bias_level in cs35l33_set_bias_level" to the asoc tree Mark Brown
  0 siblings, 2 replies; 3+ messages in thread
From: Axel Lin @ 2016-06-28 10:36 UTC (permalink / raw)
  To: Mark Brown; +Cc: Brian Austin, alsa-devel, Liam Girdwood, Paul Handrigan

This is done by ASoC core now.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
---
 sound/soc/codecs/cs35l33.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/sound/soc/codecs/cs35l33.c b/sound/soc/codecs/cs35l33.c
index 90dc743..622a111 100644
--- a/sound/soc/codecs/cs35l33.c
+++ b/sound/soc/codecs/cs35l33.c
@@ -365,7 +365,6 @@ static int cs35l33_set_bias_level(struct snd_soc_codec *codec,
 				  enum snd_soc_bias_level level)
 {
 	unsigned int val;
-	struct snd_soc_dapm_context *dapm = snd_soc_codec_get_dapm(codec);
 	struct cs35l33_private *priv = snd_soc_codec_get_drvdata(codec);
 
 	switch (level) {
@@ -392,8 +391,6 @@ static int cs35l33_set_bias_level(struct snd_soc_codec *codec,
 		return -EINVAL;
 	}
 
-	dapm->bias_level = level;
-
 	return 0;
 }
 
-- 
2.5.0

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-06-28 19:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-28 10:36 [PATCH] ASoC: cs35l33: Remove setting dapm->bias_level in cs35l33_set_bias_level Axel Lin
2016-06-28 14:30 ` Handrigan, Paul
2016-06-28 19:56 ` Applied "ASoC: cs35l33: Remove setting dapm->bias_level in cs35l33_set_bias_level" to the asoc tree Mark Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.