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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 11 Nov 2011 17:37:03 +0000 (09:37 -0800)
commit9eb72dda42ed9162026d69aabcdc0528d7994193
tree09c19add8bb096e0ffcf3e9beb480dad562aa9d5
parentac310457b4fd7634983788faf0c4f29cd2d5384b
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