ASoC: Actively manage MCLK for AT91SAM9G20-EK
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 16 Feb 2009 17:51:54 +0000 (17:51 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 18 Feb 2009 11:25:23 +0000 (11:25 +0000)
commit5de7f9b20069257aa5f0bb74723c8603adc5841a
tree076476094e6c9229c54c3d92a7a8625f48b42756
parent40135ea07190316a789b2edfbf7c8131598bdf81
ASoC: Actively manage MCLK for AT91SAM9G20-EK

We have software control of the MCLK for the WM8731 so save a bit of
power by actively managing it within the machine driver, enabling it
only while the codec is active.

Once ASoC supports multiple boards and doesn't require the soc-audio
device the initial clock setup should be pushed down into the arch/arm
code but for now this reduces merge issues.

Tested-by: Sedji Gaouaou <sedji.gaouaou@atmel.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/atmel/sam9g20_wm8731.c