From: Axel Lin Date: Tue, 17 Jun 2014 04:41:31 +0000 (+0800) Subject: ASoC: rt5677: Convert to use rl6231_pll_calc X-Git-Tag: omap-for-v3.17/fixes-against-rc2~144^2~5^2~4^3~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=099d334e3d5c0b26480dffc44fe6272c90898237;p=pandora-kernel.git ASoC: rt5677: Convert to use rl6231_pll_calc The implementation of rt5677_pll_calc() has the same logic of rl6231_pll_calc(). The only difference is the lower boundary checking for freq_in. This patch calls rl6231_pll_calc() instead of open-coded. The k_bp of struct rt5677_pll_code is always false, thus also remove the code to check pll_code.k_bp. Signed-off-by: Axel Lin Tested-by: Oder Chiou Signed-off-by: Mark Brown --- Reading git-diff-tree failed