ASoC: Implement WM8994 OPCLK support
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 8 Jul 2010 02:25:43 +0000 (11:25 +0900)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 8 Jul 2010 23:50:12 +0000 (08:50 +0900)
commit66b47fdb851924956b6e4696fb43a3496ae2c462
tree6f15ecb7e2254dfe53339457adbd372dfee81621
parente88ff1e6db0ae6462e881d9f10776f7bdfd32e64
ASoC: Implement WM8994 OPCLK support

The WM8994 can output a clock derived from its internal SYSCLK, called
OPCLK.  The rate can be selected as a sysclk, with a division from the
SYSCLK rate specified (multiplied by 10 since a division of 5.5 is
supported) and the clock can be disabled by specifying a divisor of
zero.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
sound/soc/codecs/wm8994.c
sound/soc/codecs/wm8994.h