summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/arizona.h
diff options
context:
space:
mode:
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>2013-02-20 17:28:35 +0000
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-03-04 11:00:59 +0800
commit9e359c645fa86daf0e3e5cc2dcbe7388f6e4d16a (patch)
tree0404bd8491ed2527985dc2e4b1667c243aa8d411 /sound/soc/codecs/arizona.h
parent19b34bdc6d267723f3fc526ae775efba0ca4c39b (diff)
ASoC: arizona: Tidy up SYNCCLK selection and cache values
This patch caches the current SYNCCLK settings in the arizona_fll struct and uses these to simplify the code which determines which source should be used for the REFCLK and SYNCCLK inputs. 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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/codecs/arizona.h b/sound/soc/codecs/arizona.h
index 124f9f0ef1ac..37766b547b9d 100644
--- a/sound/soc/codecs/arizona.h
+++ b/sound/soc/codecs/arizona.h
@@ -201,6 +201,8 @@ struct arizona_fll {
unsigned int fref;
unsigned int fout;
+ int sync_src;
+ unsigned int sync_freq;
int ref_src;
unsigned int ref_freq;