ASoC: wm8711: Fix wrong mask for setting input audio data bit length select
commit55c618c61940db0845744db9acce6319f0783252
authorAxel Lin <axel.lin@gmail.com>
Fri, 28 Oct 2011 03:08:01 +0000 (28 11:08 +0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 11 Nov 2011 17:44:25 +0000 (11 09:44 -0800)
treeda58aa8ec9aa56e4a6062053b281b362dbeaadf6
parent218782d30177214893625e8d6523191caa5e023b
ASoC: wm8711: Fix wrong mask for setting input audio data bit length select

commit 04c57163c8edfbc50e022737014069998ba4fc5f upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
sound/soc/codecs/wm8711.c