ASoC: Leave input audio data bit length settings untouched in wm8711_set_dai_fmt
commita8c34bb24eb25d50481528cbfc70e29bde147cc2
authorAxel Lin <axel.lin@gmail.com>
Fri, 28 Oct 2011 07:17:56 +0000 (28 15:17 +0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 11 Nov 2011 17:37:03 +0000 (11 09:37 -0800)
treee83d740a73633c2bc7a289059a8f3075a81ed5b7
parent9eb72dda42ed9162026d69aabcdc0528d7994193
ASoC: Leave input audio data bit length settings untouched in wm8711_set_dai_fmt

commit d558cfc30064a97c2c65dbd2b3a4f5a1dea7ec1b upstream.

Current implementation in wm8711_set_dai_fmt always clear BIT[3:2]
(the Input Audio Data Bit Length Select) of WM8711_IFACE(07h) register.
Input Audio Data Bit Length Select bits are set by wm8711_hw_params,
we should leave BIT[3:2] untouched in wm8711_set_dai_fmt.

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