ASoC: WM8580: Debug BCLK and sample size
authorJassi Brar <jassi.brar@samsung.com>
Tue, 7 Dec 2010 10:23:07 +0000 (19:23 +0900)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 7 Dec 2010 15:49:18 +0000 (15:49 +0000)
commit6b464321d276e448d478c99202c19d83f2bd25f4
tree807c7a6c8ed4253d153c0e5abf9b44269f3f5c43
parent681e36924788aeea2717c07cc42a21c9c86d7559
ASoC: WM8580: Debug BCLK and sample size

In case of SNDRV_PCM_FORMAT_S32_LE, we need to set WM8580_AIF_LENGTH_32,
rather than WM8580_AIF_LENGTH_24.
Also, the BCLK has to be 64fs, for sample size of 20, 24 and 32 bits.

Signed-off-by: Jassi Brar <jassi.brar@samsung.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/wm8580.c