ASoC: adau1701: Fix ADAU1701_SEROCTL_WORD_LEN_16 constant
authorLars-Peter Clausen <lars@metafoo.de>
Wed, 8 Jan 2014 10:22:25 +0000 (11:22 +0100)
committerMark Brown <broonie@linaro.org>
Wed, 8 Jan 2014 12:10:50 +0000 (12:10 +0000)
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@lockless.no>
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
Cc: stable@vger.kernel.org
sound/soc/codecs/adau1701.c

index ebff1128be595ca7ff63f5ca049d2f30342dee45..adee866f463f385bb70d9099aa2826eded8de646 100644 (file)
@@ -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