diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-01-04 21:18:12 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-17 08:44:04 -0800 |
commit | 639fd95292222bf03e1bb8616437b261321e1536 (patch) | |
tree | e95fc093bf36f55b703a3026b72906fa49c89fd8 | |
parent | 93b40265d0c287271b19320574a76070d76d5a3b (diff) | |
download | kernel_samsung_aries-639fd95292222bf03e1bb8616437b261321e1536.zip kernel_samsung_aries-639fd95292222bf03e1bb8616437b261321e1536.tar.gz kernel_samsung_aries-639fd95292222bf03e1bb8616437b261321e1536.tar.bz2 |
ASoC: wm2000: Fix sense of speech clarity enable
commit 267f8fa2e1eef0612b2007e1f1846bcbc35cc1fa upstream.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-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 a3b9cbb..ba03dc2 100644 --- a/sound/soc/codecs/wm2000.c +++ b/sound/soc/codecs/wm2000.c @@ -224,9 +224,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); |