diff options
author | Ryo Tsutsui <ryo.tsutsui@wolfsonmicro.com> | 2013-02-03 08:18:00 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-02-28 13:38:37 (GMT) |
commit | e32ae42530f86a574007fbf57fbc08c2a445e939 (patch) | |
tree | 36c962d91bc3fb0b734cf15e28676b18a2010ee3 /kernel/semaphore.c | |
parent | e4822a5f9cccf33f8e371f5cd58ecae51b2c3e74 (diff) | |
download | linux-fsl-qoriq-e32ae42530f86a574007fbf57fbc08c2a445e939.tar.xz |
ASoC: arizona: Fixed a bug in FLL fractional calculation
commit 01f58153aefc158fd690b337d29ad140e963959d upstream.
Previously arizona_calc_fll() was checking if the target frequency is
exactly divisible by reference frequency, but should have been product
of the ratio and the reference frequency.
Also scale down the Lamba and Theta coefficients be under 16-bits in
order to match the registers.
Signed-off-by: Ryo Tsutsui <ryo.tsutsui@wolfsonmicro.com>
Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/semaphore.c')
0 files changed, 0 insertions, 0 deletions