diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-01-10 13:22:26 +0100 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-01-10 13:22:26 +0100 |
commit | 28f2675db8908eeb211391ea4415785a9203b25d (patch) | |
tree | 6f2fa5ae5925b4b5fffe92d178a480989d5ede45 /sound/soc | |
parent | Merge remote-tracking branch 'asoc/fix/wm-adsp' into tmp (diff) | |
parent | ASoC: wm2000: Fix sense of speech clarity enable (diff) | |
download | linux-28f2675db8908eeb211391ea4415785a9203b25d.tar.xz linux-28f2675db8908eeb211391ea4415785a9203b25d.zip |
Merge remote-tracking branch 'asoc/fix/wm2000' into tmp
Diffstat (limited to 'sound/soc')
-rw-r--r-- | sound/soc/codecs/wm2000.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/codecs/wm2000.c b/sound/soc/codecs/wm2000.c index 1cbe88f01d63..12bcae63a7f0 100644 --- a/sound/soc/codecs/wm2000.c +++ b/sound/soc/codecs/wm2000.c @@ -209,9 +209,9 @@ static int wm2000_power_up(struct i2c_client *i2c, int analogue) ret = wm2000_read(i2c, WM2000_REG_SPEECH_CLARITY); if (wm2000->speech_clarity) - ret &= ~WM2000_SPEECH_CLARITY; - else ret |= WM2000_SPEECH_CLARITY; + else + ret &= ~WM2000_SPEECH_CLARITY; wm2000_write(i2c, WM2000_REG_SPEECH_CLARITY, ret); wm2000_write(i2c, WM2000_REG_SYS_START0, 0x33); |