aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/cs35l33.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2016-06-28 18:36:59 +0800
committerMark Brown <broonie@kernel.org>2016-06-28 20:56:03 +0100
commit262329fccad4914dbf4b49634cbe140dfb353c25 (patch)
treea65678f51b5eb561ce8f99ad5febc77c132fcb56 /sound/soc/codecs/cs35l33.c
parentASoC: cs35l33: Remove unnecessary free_irq call (diff)
downloadlinux-dev-262329fccad4914dbf4b49634cbe140dfb353c25.tar.xz
linux-dev-262329fccad4914dbf4b49634cbe140dfb353c25.zip
ASoC: cs35l33: Remove setting dapm->bias_level in cs35l33_set_bias_level
This is done by ASoC core now. Signed-off-by: Axel Lin <axel.lin@ingics.com> Acked-by: Paul Handrigan <Paul.Handrigan@cirrus.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/cs35l33.c')
-rw-r--r--sound/soc/codecs/cs35l33.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sound/soc/codecs/cs35l33.c b/sound/soc/codecs/cs35l33.c
index 90dc743a8378..622a1111b21c 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;
}