]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite548059b6fcf8cdd320e5bdf1c32b6f4db22ac91
tree8c0f1e4eb6f931d2152893e78d399663af115329
parentb5d0a7a237c7e642a2e0881a9df118dd9e2db95a
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