Skip to content

Commit 262329f

Browse files
AxelLinbroonie
authored andcommitted
ASoC: cs35l33: Remove setting dapm->bias_level in cs35l33_set_bias_level
This is done by ASoC core now. Signed-off-by: Axel Lin <[email protected]> Acked-by: Paul Handrigan <[email protected]> Signed-off-by: Mark Brown <[email protected]>
1 parent beefe4a commit 262329f

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

sound/soc/codecs/cs35l33.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,6 @@ static int cs35l33_set_bias_level(struct snd_soc_codec *codec,
365365
enum snd_soc_bias_level level)
366366
{
367367
unsigned int val;
368-
struct snd_soc_dapm_context *dapm = snd_soc_codec_get_dapm(codec);
369368
struct cs35l33_private *priv = snd_soc_codec_get_drvdata(codec);
370369

371370
switch (level) {
@@ -392,8 +391,6 @@ static int cs35l33_set_bias_level(struct snd_soc_codec *codec,
392391
return -EINVAL;
393392
}
394393

395-
dapm->bias_level = level;
396-
397394
return 0;
398395
}
399396

0 commit comments

Comments
 (0)