ASoC: Tegra: Don't return mclk_changed from utils_set_rate
authorStephen Warren <swarren@nvidia.com>
Tue, 19 Apr 2011 21:25:09 +0000 (15:25 -0600)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 20 Apr 2011 12:49:55 +0000 (13:49 +0100)
commit075413966a6ea389f78f4cc2e957708c1d6db8c5
tree7f67ad032800ff3469d772c214885778bf9e41d5
parentacb8303f15768c72796f3f95bb32a955333e0fbc
ASoC: Tegra: Don't return mclk_changed from utils_set_rate

Only the clock programming code needs to know whether the clocks changed,
and that is encapsulated within tegra_asoc_utils_set_rate(). The machine
driver's call to snd_soc_dai_set_sysclk(codec_dai, ...) is safe
irrespective of whether the clocks changed.

(Applying Mark's TrimSlice review comments to the existing driver)

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/tegra/tegra_asoc_utils.c
sound/soc/tegra/tegra_asoc_utils.h
sound/soc/tegra/tegra_wm8903.c