ASoC: wm2000: Use clock API integration to configure MCLK divisor
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 14 Dec 2012 06:16:58 +0000 (15:16 +0900)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 24 Dec 2012 15:42:35 +0000 (15:42 +0000)
commitd61100bbd18e8b3fc9406be55354dabd5e7525ec
tree0adbfd1c8e57abeaa02ff3b8fdff52511a2a620b
parent514cfd6dd72508b79030c8504764a73a7261b713
ASoC: wm2000: Use clock API integration to configure MCLK divisor

Since we are now using the clock API integration to manage MCLK we can now
use clk_get_rate() to determine if we need to divide MCLK without relying
on platform data.

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