ASoC: tlv320dac33: BCLK divider fix
authorPeter Ujfalusi <peter.ujfalusi@nokia.com>
Wed, 20 Jan 2010 07:39:35 +0000 (09:39 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 20 Jan 2010 11:47:49 +0000 (11:47 +0000)
commit6cd6cede8c33364d8e1abb5ea35adf627e3781b0
tree17e588f659be6801ef0299a1b7f18019bd6b956e
parent84740ac19a0aeb87d1dc21e9d7d517f11bd49748
ASoC: tlv320dac33: BCLK divider fix

The BCLK divider was not configured in case of mode7.
This leads to unpredictable behavior when switching between FIFO modes.
Configure the BCLK divider depending on the fifo_mode (FIFO is in use,
or FIFO bypass).

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@nokia.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/tlv320dac33.c