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)
committerTony Lindgren <tony@atomide.com>
Sun, 22 Nov 2009 18:09:24 +0000 (10:09 -0800)
commitcfaf6d2c1cb231f77e24109cb1460db429608bd4
tree93d012be8ea5c8324b3463926a35eca78c713221
parent6df74efbb8c38c4a057223be564323ff26d44fd3
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