[alsa-devel] [PATCH] ASoC: adau1701: Fix ADAU1701_SEROCTL_WORD_LEN_16 constant

Lars-Peter Clausen lars at metafoo.de
Wed Jan 8 11:22:25 CET 2014

The driver defines ADAU1701_SEROCTL_WORD_LEN_16 as 0x10 while it should be b10,
so 0x2. This patch fixes it.

Reported-by: Magnus Reftel <magnus.reftel at lockless.no>
Signed-off-by: Lars-Peter Clausen <lars at metafoo.de>
Cc: stable at vger.kernel.org
 sound/soc/codecs/adau1701.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/codecs/adau1701.c b/sound/soc/codecs/adau1701.c
index ebff112..adee866 100644
--- a/sound/soc/codecs/adau1701.c
+++ b/sound/soc/codecs/adau1701.c
@@ -71,7 +71,7 @@
 #define ADAU1701_SEROCTL_WORD_LEN_24	0x0000
 #define ADAU1701_SEROCTL_WORD_LEN_20	0x0001
-#define ADAU1701_SEROCTL_WORD_LEN_16	0x0010
+#define ADAU1701_SEROCTL_WORD_LEN_16	0x0002
 #define ADAU1701_SEROCTL_WORD_LEN_MASK	0x0003
 #define ADAU1701_AUXNPOW_VBPD		0x40

More information about the Alsa-devel mailing list