Re: [RFT PATCH] clk: ls1c: Fix PLL rate calculation

From: Stephen Boyd
Date: Tue Aug 09 2022 - 14:23:25 EST


Quoting Sean Anderson (2022-08-03 16:28:41)
> On 4/19/22 1:11 AM, Sean Anderson wrote:
> >
> > pll = __raw_readl(LS1X_CLK_PLL_FREQ);
> > - rate = ((pll >> 8) & 0xff) + ((pll >> 16) & 0xff);
> > + rate = (pll & 0xff00) + ((pll >> 16) & 0xff);
> > rate *= OSC;
> > - rate >>= 2;
> > + rate >>= 10;
> >
> > return rate;
> > }
> >
>
> Since there have been no objections, can we apply this?
>

Can you resend it? I can apply it after the merge window closes next
week.