[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220809180700.BE785C43470@smtp.kernel.org>
Date: Tue, 09 Aug 2022 11:06:58 -0700
From: Stephen Boyd <sboyd@...nel.org>
To: Sean Anderson <seanga2@...il.com>, linux-clk@...r.kernel.org,
linux-mips@...r.kernel.org
Cc: linux-kernel@...r.kernel.org,
Keguang Zhang <keguang.zhang@...il.com>,
Du Huanpeng <dhu@...carrier.org>,
Yang Ling <gnaygnil@...il.com>
Subject: Re: [RFT PATCH] clk: ls1c: Fix PLL rate calculation
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.
Powered by blists - more mailing lists