Message ID | 20190125153436.13517-1-paul@crapouillou.net (mailing list archive) |
---|---|
State | Accepted, archived |
Headers | show |
Series | clk: ingenic: jz4740: Fix gating of UDC clock | expand |
Quoting Paul Cercueil (2019-01-25 07:34:36) > The UDC clock is gated when the bit is cleared, not when it is set. > > Signed-off-by: Paul Cercueil <paul@crapouillou.net> > Tested-by: Artur Rojek <contact@artur-rojek.eu> > --- Any Fixes tag for this?
Hi, On Fri, Jan 25, 2019 at 3:55 PM, Stephen Boyd <sboyd@kernel.org> wrote: > Quoting Paul Cercueil (2019-01-25 07:34:36) >> The UDC clock is gated when the bit is cleared, not when it is set. >> >> Signed-off-by: Paul Cercueil <paul@crapouillou.net >> <mailto:paul@crapouillou.net>> >> Tested-by: Artur Rojek <contact@artur-rojek.eu >> <mailto:contact@artur-rojek.eu>> >> --- > > Any Fixes tag for this? > Fixes: 2b555a4b9cae Should I resend?
Quoting Paul Cercueil (2019-01-25 11:24:58) > Hi, > > > On Fri, Jan 25, 2019 at 3:55 PM, Stephen Boyd <sboyd@kernel.org> wrote: > > Quoting Paul Cercueil (2019-01-25 07:34:36) > >> The UDC clock is gated when the bit is cleared, not when it is set. > >> > >> Signed-off-by: Paul Cercueil <paul@crapouillou.net > >> <mailto:paul@crapouillou.net>> > >> Tested-by: Artur Rojek <contact@artur-rojek.eu > >> <mailto:contact@artur-rojek.eu>> > >> --- > > > > Any Fixes tag for this? > > > > Fixes: 2b555a4b9cae > > Should I resend? > No need to resend. Is this fixing something that's broken in the v5.0-rc series? I'm trying to understand if this is a critical fix or a non-critical fix that can bake until the next release cycle.
Hi, Le mar. 29 janv. 2019 à 15:13, Stephen Boyd <sboyd@kernel.org> a écrit : > Quoting Paul Cercueil (2019-01-25 11:24:58) >> Hi, >> >> >> On Fri, Jan 25, 2019 at 3:55 PM, Stephen Boyd <sboyd@kernel.org> >> wrote: >> > Quoting Paul Cercueil (2019-01-25 07:34:36) >> >> The UDC clock is gated when the bit is cleared, not when it is >> set. >> >> >> >> Signed-off-by: Paul Cercueil <paul@crapouillou.net >> >> <mailto:paul@crapouillou.net>> >> >> Tested-by: Artur Rojek <contact@artur-rojek.eu >> >> <mailto:contact@artur-rojek.eu>> >> >> --- >> > >> > Any Fixes tag for this? >> > >> >> Fixes: 2b555a4b9cae >> >> Should I resend? >> > > No need to resend. Is this fixing something that's broken in the > v5.0-rc > series? I'm trying to understand if this is a critical fix or a > non-critical fix that can bake until the next release cycle. It's been broken for one year and nobody noticed, it can wait for 5.1. -Paul
Quoting Paul Cercueil (2019-01-29 11:22:25) > Hi, > > Le mar. 29 janv. 2019 à 15:13, Stephen Boyd <sboyd@kernel.org> a > écrit : > > Quoting Paul Cercueil (2019-01-25 11:24:58) > >> Hi, > >> > >> > >> On Fri, Jan 25, 2019 at 3:55 PM, Stephen Boyd <sboyd@kernel.org> > >> wrote: > >> > Quoting Paul Cercueil (2019-01-25 07:34:36) > >> >> The UDC clock is gated when the bit is cleared, not when it is > >> set. > >> >> > >> >> Signed-off-by: Paul Cercueil <paul@crapouillou.net > >> >> <mailto:paul@crapouillou.net>> > >> >> Tested-by: Artur Rojek <contact@artur-rojek.eu > >> >> <mailto:contact@artur-rojek.eu>> > >> >> --- > >> > > >> > Any Fixes tag for this? > >> > > >> > >> Fixes: 2b555a4b9cae > >> > >> Should I resend? > >> > > > > No need to resend. Is this fixing something that's broken in the > > v5.0-rc > > series? I'm trying to understand if this is a critical fix or a > > non-critical fix that can bake until the next release cycle. > > It's been broken for one year and nobody noticed, it can wait for 5.1. > Ok, thanks!
Quoting Paul Cercueil (2019-01-25 07:34:36) > The UDC clock is gated when the bit is cleared, not when it is set. > > Signed-off-by: Paul Cercueil <paul@crapouillou.net> > Tested-by: Artur Rojek <contact@artur-rojek.eu> > --- Applied to clk-next
diff --git a/drivers/clk/ingenic/jz4740-cgu.c b/drivers/clk/ingenic/jz4740-cgu.c index d8ac7f2e183a..5d0d5be1e6a7 100644 --- a/drivers/clk/ingenic/jz4740-cgu.c +++ b/drivers/clk/ingenic/jz4740-cgu.c @@ -165,7 +165,7 @@ static const struct ingenic_cgu_clk_info jz4740_cgu_clocks[] = { .parents = { JZ4740_CLK_EXT, JZ4740_CLK_PLL_HALF, -1, -1 }, .mux = { CGU_REG_CPCCR, 29, 1 }, .div = { CGU_REG_CPCCR, 23, 1, 6, -1, -1, -1 }, - .gate = { CGU_REG_SCR, 6 }, + .gate = { CGU_REG_SCR, 6, true }, }, /* Gate-only clocks */