Skip to content

Commit

Permalink
ASoC: wm8940: Properly set codec->dapm.bias_level
Browse files Browse the repository at this point in the history
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>
Cc: stable@vger.kernel.org
  • Loading branch information
Axel Lin authored and Mark Brown committed Oct 27, 2011
1 parent 0d8d293 commit 5927f94
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 @@ -488,6 +488,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 5927f94

Please sign in to comment.