[PATCH] ARM: S5P: Remove duplicate kdiv calculation

Kukjin Kim kgene.kim at samsung.com
Tue Aug 23 03:19:19 EDT 2011


jhbird.choi at samsung.com wrote:
> 
> From: Jonghwan Choi <jhbird.choi at samsung.com>
> 
> Signed-off-by: Jonghwan Choi <jhbird.choi at samsung.com>
> ---
>  arch/arm/plat-s5p/include/plat/pll.h |    1 -
>  1 files changed, 0 insertions(+), 1 deletions(-)
> 
> diff --git a/arch/arm/plat-s5p/include/plat/pll.h
b/arch/arm/plat-s5p/include/plat/pll.h
> index bf28fad..ebc142c 100644
> --- a/arch/arm/plat-s5p/include/plat/pll.h
> +++ b/arch/arm/plat-s5p/include/plat/pll.h
> @@ -72,7 +72,6 @@ static inline unsigned long s5p_get_pll46xx(unsigned
long
> baseclk,
>  	mdiv = (pll_con0 >> PLL46XX_MDIV_SHIFT) & PLL46XX_MDIV_MASK;
>  	pdiv = (pll_con0 >> PLL46XX_PDIV_SHIFT) & PLL46XX_PDIV_MASK;
>  	sdiv = (pll_con0 >> PLL46XX_SDIV_SHIFT) & PLL46XX_SDIV_MASK;
> -	kdiv = pll_con1 & PLL46XX_KDIV_MASK;
> 
>  	if (pll_type == pll_4650c)
>  		kdiv = pll_con1 & PLL4650C_KDIV_MASK;
> --
> 1.7.0

Yes, OK.
Applied, thanks.

Best regards,
Kgene.
--
Kukjin Kim <kgene.kim at samsung.com>, Senior Engineer,
SW Solution Development Team, Samsung Electronics Co., Ltd.




More information about the linux-arm-kernel mailing list