summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPeter Ujfalusi <peter.ujfalusi@ti.com>2012-01-14 20:58:43 +0100
committerSamuel Ortiz <sameo@linux.intel.com>2012-02-03 19:03:44 +0100
commitf8447d6c213273b444c81eaa2449f55510229d4f (patch)
treeb5d7bcb01c892cfdf2b00215e12d2ad10b1d4003 /include
parent62aa2b537c6f5957afd98e29f96897419ed5ebab (diff)
downloadlinux-f8447d6c213273b444c81eaa2449f55510229d4f.tar.gz
linux-f8447d6c213273b444c81eaa2449f55510229d4f.tar.bz2
linux-f8447d6c213273b444c81eaa2449f55510229d4f.zip
mfd: Store twl6040-codec mclk configuration
Store the last used mclk configuration for the PLL. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/mfd/twl6040.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/mfd/twl6040.h b/include/linux/mfd/twl6040.h
index 2463c2619596..9bc9ac651dad 100644
--- a/include/linux/mfd/twl6040.h
+++ b/include/linux/mfd/twl6040.h
@@ -187,8 +187,10 @@ struct twl6040 {
int rev;
u8 vibra_ctrl_cache[2];
+ /* PLL configuration */
int pll;
unsigned int sysclk;
+ unsigned int mclk;
unsigned int irq;
unsigned int irq_base;