MFD: twl4030-codec: APLL_INFREQ handling in the MFD driver
authorPeter Ujfalusi <peter.ujfalusi@nokia.com>
Wed, 4 Nov 2009 07:58:19 +0000 (09:58 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 10 Nov 2009 12:07:23 +0000 (12:07 +0000)
commitf9b4639e045c750e2bad37462476403995508350
treead64a6e75caf3733e65e436281abc3824fca62b2
parent953e2f3d272db9db6671ad4f4244820557a71cf7
MFD: twl4030-codec: APLL_INFREQ handling in the MFD driver

Configure the APLL_INFREQ field in the APLL_CTL register
based on the platform data.
Provide also a function for childs to query the audio_mclk
frequency.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@nokia.com>
Acked-by: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/mfd/twl4030-codec.c
include/linux/mfd/twl4030-codec.h