From: Lars-Peter Clausen Date: Wed, 8 Jan 2014 10:22:25 +0000 (+0100) Subject: ASoC: adau1701: Fix ADAU1701_SEROCTL_WORD_LEN_16 constant X-Git-Tag: v3.14-rc1~16^2~12^2^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e20970ada3f699c113fe64b04492af083d11a7d8;p=kernel%2Fkernel-generic.git ASoC: adau1701: Fix ADAU1701_SEROCTL_WORD_LEN_16 constant 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 Signed-off-by: Lars-Peter Clausen Signed-off-by: Mark Brown Cc: stable@vger.kernel.org --- diff --git a/sound/soc/codecs/adau1701.c b/sound/soc/codecs/adau1701.c index ebff1128b..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