ASoC: cs4270: allow passing freq=0 in set_dai_sysclk()
authorDaniel Mack <daniel@caiaq.de>
Fri, 15 Jan 2010 16:36:48 +0000 (17:36 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 15 Jan 2010 17:28:41 +0000 (17:28 +0000)
For setups with variable MCLKs, the current logic of limiting the
available sampling rates at startup time is not sufficient. We need to
be able to change the setting at a later point, and so the codec must
offer all possible rates until the hw_params are given.

This patches allows that by passing 0 as 'freq' argument to
cs4270_set_dai_sysclk().

Signed-off-by: Daniel Mack <daniel@caiaq.de>
Acked-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>

No differences found