From: Ryo Tsutsui Date: Sun, 3 Feb 2013 08:18:00 +0000 (+0900) Subject: ASoC: arizona: Fixed a bug in FLL fractional calculation X-Git-Tag: v3.9-rc1~129^2~24^2~35^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=01f58153aefc158fd690b337d29ad140e963959d;p=pandora-kernel.git ASoC: arizona: Fixed a bug in FLL fractional calculation 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 Signed-off-by: Charles Keepax Signed-off-by: Mark Brown Cc: stable@vger.kernel.org --- Reading git-diff-tree failed