ASoC: arizona: Tidy up SYNCCLK selection and cache values
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Wed, 20 Feb 2013 17:28:35 +0000 (17:28 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 4 Mar 2013 03:00:59 +0000 (11:00 +0800)
commit9e359c645fa86daf0e3e5cc2dcbe7388f6e4d16a
tree0404bd8491ed2527985dc2e4b1667c243aa8d411
parent19b34bdc6d267723f3fc526ae775efba0ca4c39b
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>
sound/soc/codecs/arizona.c
sound/soc/codecs/arizona.h