lkml.org 
[lkml]   [2024]   [Apr]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v8 2/7] clk: qcom: cbf-msm8996: Specify master and slave id
On Wed, Apr 17, 2024 at 02:26:36PM +0300, Dmitry Baryshkov wrote:
> On Wed, 17 Apr 2024 at 13:56, Varadarajan Narayanan
> <quic_varada@quicinc.com> wrote:
> >
> > The icc-clk driver has been changed to take master and slave id
> > from the caller instead of auto-generating them. Update
> > clk-cbf-8996 accordingly.
>
> This should be squashed into the previous patch. Otherwise the driver
> is broken between two commits.

Ok. Will squash and post a new one.

Thanks
Varada
>
> >
> > Signed-off-by: Varadarajan Narayanan <quic_varada@quicinc.com>
> > ---
> > drivers/clk/qcom/clk-cbf-8996.c | 7 ++++++-
> > 1 file changed, 6 insertions(+), 1 deletion(-)
> >
> > diff --git a/drivers/clk/qcom/clk-cbf-8996.c b/drivers/clk/qcom/clk-cbf-8996.c
> > index fe24b4abeab4..a077d4403967 100644
> > --- a/drivers/clk/qcom/clk-cbf-8996.c
> > +++ b/drivers/clk/qcom/clk-cbf-8996.c
> > @@ -237,7 +237,12 @@ static int qcom_msm8996_cbf_icc_register(struct platform_device *pdev, struct cl
> > struct device *dev = &pdev->dev;
> > struct clk *clk = devm_clk_hw_get_clk(dev, cbf_hw, "cbf");
> > const struct icc_clk_data data[] = {
> > - { .clk = clk, .name = "cbf", },
> > + {
> > + .clk = clk,
> > + .name = "cbf",
> > + .master_id = MASTER_CBF_M4M,
> > + .slave_id = SLAVE_CBF_M4M,
> > + },
> > };
> > struct icc_provider *provider;
> >
> > --
> > 2.34.1
> >
>
>
> --
> With best wishes
> Dmitry

\
 
 \ /
  Last update: 2024-04-17 18:36    [W:0.114 / U:0.172 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site