summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/arizona.h
diff options
context:
space:
mode:
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>2013-02-20 17:28:34 +0000
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-03-04 11:00:59 +0800
commit19b34bdc6d267723f3fc526ae775efba0ca4c39b (patch)
treec4bf222b7814b53a2df3f48f2a4d62e232618a3f /sound/soc/codecs/arizona.h
parent6dbe51c251a327e012439c4772097a13df43c5b8 (diff)
downloadop-kernel-dev-19b34bdc6d267723f3fc526ae775efba0ca4c39b.zip
op-kernel-dev-19b34bdc6d267723f3fc526ae775efba0ca4c39b.tar.gz
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 'sound/soc/codecs/arizona.h')
-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 116372c..124f9f0 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];
};
OpenPOWER on IntegriCloud