summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/ssm2602.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2011-09-27 11:21:11 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-09-27 11:21:11 +0100
commit60c9e3178f7dadc7442128d76c4753485e4e8385 (patch)
tree1e00a5d28a3759ee7d62fadc00f6f907505e8964 /sound/soc/codecs/ssm2602.c
parent4d64bdca4485da8d2e604c2b02f3f32c9f468a28 (diff)
parent9058020cd9ae3423d6fe7de591698dc96b6701aa (diff)
Merge branch 'for-3.1' into for-3.2
Diffstat (limited to 'sound/soc/codecs/ssm2602.c')
-rw-r--r--sound/soc/codecs/ssm2602.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/soc/codecs/ssm2602.c b/sound/soc/codecs/ssm2602.c
index cceb0022f02c..32d6c5141860 100644
--- a/sound/soc/codecs/ssm2602.c
+++ b/sound/soc/codecs/ssm2602.c
@@ -430,7 +430,8 @@ static int ssm2602_set_dai_fmt(struct snd_soc_dai *codec_dai,
static int ssm2602_set_bias_level(struct snd_soc_codec *codec,
enum snd_soc_bias_level level)
{
- u16 reg = snd_soc_read(codec, SSM2602_PWR) & 0xff7f;
+ u16 reg = snd_soc_read(codec, SSM2602_PWR);
+ reg &= ~(PWR_POWER_OFF | PWR_OSC_PDN);
switch (level) {
case SND_SOC_BIAS_ON: