Skip to content

Commit

Permalink
ASoC: wm8940: Properly set codec->dapm.bias_level
Browse files Browse the repository at this point in the history
commit 5927f94 upstream.

Reported-by: Chris Paulson-Ellis <chris@edesix.com>
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Axel Lin authored and Greg Kroah-Hartman committed Nov 7, 2011
1 parent 92508d6 commit d85b1ce
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sound/soc/codecs/wm8940.c
Original file line number Diff line number Diff line change
Expand Up @@ -473,6 +473,8 @@ static int wm8940_set_bias_level(struct snd_soc_codec *codec,
break;
}

codec->dapm.bias_level = level;

return ret;
}

Expand Down

0 comments on commit d85b1ce

Please sign in to comment.