linux-mips.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Stephen Boyd <sboyd@kernel.org>
To: Sean Anderson <seanga2@gmail.com>,
	linux-clk@vger.kernel.org, linux-mips@vger.kernel.org
Cc: linux-kernel@vger.kernel.org,
	Keguang Zhang <keguang.zhang@gmail.com>,
	Du Huanpeng <dhu@hodcarrier.org>, Yang Ling <gnaygnil@gmail.com>
Subject: Re: [RFT PATCH] clk: ls1c: Fix PLL rate calculation
Date: Tue, 09 Aug 2022 11:06:58 -0700	[thread overview]
Message-ID: <20220809180700.BE785C43470@smtp.kernel.org> (raw)
In-Reply-To: <d92dd996-6961-5291-9504-1fe284b40dd6@gmail.com>

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.

  reply	other threads:[~2022-08-09 18:23 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-19  5:11 [RFT PATCH] clk: ls1c: Fix PLL rate calculation Sean Anderson
2022-04-20 23:30 ` Du Huanpeng
2022-08-03 23:28 ` Sean Anderson
2022-08-09 18:06   ` Stephen Boyd [this message]
2022-08-18  3:36 ` Kelvin Cheung
2022-08-18  3:47   ` Sean Anderson
2022-11-09  3:47   ` Du Huanpeng

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220809180700.BE785C43470@smtp.kernel.org \
    --to=sboyd@kernel.org \
    --cc=dhu@hodcarrier.org \
    --cc=gnaygnil@gmail.com \
    --cc=keguang.zhang@gmail.com \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mips@vger.kernel.org \
    --cc=seanga2@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).