summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/arizona.h
diff options
context:
space:
mode:
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>2013-02-20 18:28:34 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-03-04 04:00:59 +0100
commit19b34bdc6d267723f3fc526ae775efba0ca4c39b (patch)
treec4bf222b7814b53a2df3f48f2a4d62e232618a3f /sound/soc/codecs/arizona.h
parentLinux 3.9-rc1 (diff)
downloadlinux-19b34bdc6d267723f3fc526ae775efba0ca4c39b.tar.xz
linux-19b34bdc6d267723f3fc526ae775efba0ca4c39b.zip
ASoC: arizona: Move selection of FLL REFCLK into init
In preparation for additional features on the FLL this patch moves the code selecting the REFCLK source based on the 32kHz clock into the FLL initialisation function. Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to '')
-rw-r--r--sound/soc/codecs/arizona.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/soc/codecs/arizona.h b/sound/soc/codecs/arizona.h
index 116372c91f5d..124f9f0ef1ac 100644
--- a/sound/soc/codecs/arizona.h
+++ b/sound/soc/codecs/arizona.h
@@ -201,6 +201,9 @@ struct arizona_fll {
unsigned int fref;
unsigned int fout;
+ int ref_src;
+ unsigned int ref_freq;
+
char lock_name[ARIZONA_FLL_NAME_LEN];
char clock_ok_name[ARIZONA_FLL_NAME_LEN];
};