]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: arizona: fref must be limited in pseudo-fractional mode
authorRichard Fitzgerald <rf@opensource.wolfsonmicro.com>
Wed, 10 Feb 2016 11:56:13 +0000 (11:56 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 10 Feb 2016 19:21:41 +0000 (19:21 +0000)
commit2f230b13489c6c1ab66df983651a497119a3ec5e
tree87364ed5ab3ef999f409bf6b7abe89f0c2f8a0e1
parent5367e65a538f2d59834d845f582bc1f1ae9599b8
ASoC: arizona: fref must be limited in pseudo-fractional mode

When the FLL is in pseudo-fractional mode there is an additional
limit on fref based on the fratio, to prevent aliasing around the
Nyquist frequency. If fref exceeds this limit the refclk divider
must be increased and the calculation tried again until a suitable
combination of fref and fratio is found or we have to fall back to
integer mode.

This patch also adds some debug log prints around this code.

Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/arizona.c