diff options
author | Charles Keepax <ckeepax@opensource.wolfsonmicro.com> | 2013-02-20 12:28:35 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-03-03 22:00:59 -0500 |
commit | 9e359c645fa86daf0e3e5cc2dcbe7388f6e4d16a (patch) | |
tree | 0404bd8491ed2527985dc2e4b1667c243aa8d411 /sound/soc/codecs/arizona.h | |
parent | 19b34bdc6d267723f3fc526ae775efba0ca4c39b (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.h | 2 |
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 { | |||
201 | unsigned int fref; | 201 | unsigned int fref; |
202 | unsigned int fout; | 202 | unsigned int fout; |
203 | 203 | ||
204 | int sync_src; | ||
205 | unsigned int sync_freq; | ||
204 | int ref_src; | 206 | int ref_src; |
205 | unsigned int ref_freq; | 207 | unsigned int ref_freq; |
206 | 208 | ||