ASoC: arizona: Correct handling of FLL theta in synchroniser mode
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Fri, 2 Sep 2016 15:52:43 +0000 (16:52 +0100)
committerMark Brown <broonie@kernel.org>
Sat, 3 Sep 2016 11:08:22 +0000 (12:08 +0100)
commite87d9ae8886783f3a5a8dd6863e8261783214e3b
treec028aaa2a7c8b2ea497c44794a30677e116de4d9
parent63d19e0693668de5ce46b5f0f948645bf43b546b
ASoC: arizona: Correct handling of FLL theta in synchroniser mode

Theta/lambda is used to give the fractional portion of the FLL
frequency multiplication. When the synchroniser is active the
reference path lambda value is hard coded in the hardware to
65536. This patch corrects the handling of theta such that it
is scaled to match this denominator, when the synchroniser is
active.

Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/arizona.c