Patchwork [3.5.y.z,extended,stable] Patch "ASoC: wm2000: Fix sense of speech clarity enable" has been added to staging queue

mail settings
Submitter Herton Ronaldo Krzesinski
Date Jan. 23, 2013, 4:41 a.m.
Message ID <>
Download mbox | patch
Permalink /patch/214741/
State New
Headers show


Herton Ronaldo Krzesinski - Jan. 23, 2013, 4:41 a.m.
This is a note to let you know that I have just added a patch titled

    ASoC: wm2000: Fix sense of speech clarity enable

to the linux-3.5.y-queue branch of the 3.5.y.z extended stable tree 
which can be found at:;a=shortlog;h=refs/heads/linux-3.5.y-queue

If you, or anyone else, feels it should not be added to this tree, please 
reply to this email.

For more information about the 3.5.y.z tree, see



From fe83337ae136e2304f5daff6e61237807b12a923 Mon Sep 17 00:00:00 2001
From: Mark Brown <>
Date: Fri, 4 Jan 2013 21:18:12 +0000
Subject: [PATCH] ASoC: wm2000: Fix sense of speech clarity enable

commit 267f8fa2e1eef0612b2007e1f1846bcbc35cc1fa upstream.

Signed-off-by: Mark Brown <>
Signed-off-by: Herton Ronaldo Krzesinski <>
 sound/soc/codecs/wm2000.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)



diff --git a/sound/soc/codecs/wm2000.c b/sound/soc/codecs/wm2000.c
index 45f2faf..baa9752 100644
--- a/sound/soc/codecs/wm2000.c
+++ b/sound/soc/codecs/wm2000.c
@@ -188,9 +188,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);