Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1243576

Re: [PATCH 05/10] clk: iproc: Add PLL base write function

From Jon Mason <jonmason@broadcom.com>
Newsgroups linux.kernel
Subject Re: [PATCH 05/10] clk: iproc: Add PLL base write function
Date 2015-10-09 20:10 +0200
Message-ID <qhKhc-1jS-13@gated-at.bofh.it> (permalink)
References <qfht0-oF-3@gated-at.bofh.it> <qfht0-oF-1@gated-at.bofh.it> <qhzYu-3mM-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, Oct 09, 2015 at 12:03:57AM -0700, Stephen Boyd wrote:
> On 10/02, Jon Mason wrote:
> > diff --git a/drivers/clk/bcm/clk-iproc-pll.c b/drivers/clk/bcm/clk-iproc-pll.c
> > index e029ab3..a4602aa 100644
> > --- a/drivers/clk/bcm/clk-iproc-pll.c
> > +++ b/drivers/clk/bcm/clk-iproc-pll.c
> > @@ -137,6 +137,18 @@ static int pll_wait_for_lock(struct iproc_pll *pll)
> >  	return -EIO;
> >  }
> >  
> > +static void iproc_pll_write(struct iproc_pll *pll, void __iomem *base,
> 
> Seems that pll could be const too?

Yes, and offset can be const too.  I'll make these changes and
resubmit.

Thanks,
Jon

> 
> > +			    u32 offset, u32 val)
> > +{
> > +	const struct iproc_pll_ctrl *ctrl = pll->ctrl;
> > +
> 
> -- 
> Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
> a Linux Foundation Collaborative Project
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Re: [PATCH 05/10] clk: iproc: Add PLL base write function Stephen Boyd <sboyd@codeaurora.org> - 2015-10-09 09:10 +0200
  Re: [PATCH 05/10] clk: iproc: Add PLL base write function Jon Mason <jonmason@broadcom.com> - 2015-10-09 20:10 +0200

csiph-web