ASoC: Update WM9081 for tdm_slot() API change
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 11 Aug 2009 15:28:39 +0000 (16:28 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 11 Aug 2009 15:29:21 +0000 (16:29 +0100)
commite0026beac0f1a6253488478b3f022ff243b012b9
treea4d9eb2eb02ea90cdfe5e0074545c0887e3c4e4e
parent1921bab217c2c21e4b8dc78332f6ae11515fc014
ASoC: Update WM9081 for tdm_slot() API change

Store the TDM slot width then if it's set use that rather than the
sample size to calculate BCLK. Leave imposing constraints to the
core (which should do this but doesn't yet) or machine driver.

Also allow 0 TDM slots to be configure (for use when disabling TDM).

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/wm9081.c