ASoC: wm8711: Fix wrong mask for setting input audio data bit length select
authorAxel Lin <axel.lin@gmail.com>
Fri, 28 Oct 2011 03:08:01 +0000 (11:08 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 31 Oct 2011 12:38:18 +0000 (12:38 +0000)
commit04c57163c8edfbc50e022737014069998ba4fc5f
tree8c0f1e4eb6f931d2152893e78d399663af115329
parent68e47981437686e58de1edc616d6c3043e01f07e
ASoC: wm8711: Fix wrong mask for setting input audio data bit length select

The Input Audio Data Bit Length Select is controlled by BIT[3:2] of
WM8711_IFACE(07h) register.
Current code incorrectly masks BIT[1:0] which is for Audio Data Format Select.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: stable@kernel.org
sound/soc/codecs/wm8711.c