Re: [PATCH] clk: meson8b: fix clk81 register address

From: Jerome Brunet
Date: Fri Jan 27 2017 - 03:46:33 EST


On Thu, 2017-01-26 at 15:57 -0800, Stephen Boyd wrote:
> On 01/25, Jerome Brunet wrote:
> >
> > During meson8b clock probe, clk81 register address is fixed twice.
> > First using the meson8b_clk_gates array, then by directly changing
> > meson8b_clk81 register.
> >
> > As a result meson8b_clk81.reg = HHI_MPEG_CLK_CNTL + clk_base +
> > clk_base.
> >
> > Fixed by just removing the second fixup.
> >
> > Fixes: e31a1900c1ff ("meson: clk: Add support for clock gates")
> > Signed-off-by: Jerome Brunet <jbrunet@xxxxxxxxxxxx>
> > ---
> > ÂPatch based on khilman/linux-amlogic.git master branch.
>
> The problem isn't introduced there though?
Indeed, I should have based my patch on clk-next. Will do next time.

>
> >
> >
> > ÂI don't have a meson8b HW so this patch so this patch has not been
> > Âtested on real HW.
>
> Applied to clk-next.
>