Re: [PATCH] clk: at91: fix at91sam9x5 peripheral clock number

Stephen Boyd
2019-02-20T19:39:50Z

Quoting Nicolas.Ferre@microchip.com (2019-02-20 03:18:40)
> On 19/02/2019 at 17:51, Alexandre Belloni wrote:
> > nck() looks at the last id in an array and unfortunately,
> > at91sam9x35_periphck has a sentinel, hence the id is 0 and the calculated
> > number of peripheral clocks is 1 instead of a maximum of 31.
> >
> > Fixes: 1eabdc2f9dd8 ("clk: at91: add at91sam9x5 PMCs driver")
> > Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
>
> Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>
> Cc: <stable@vger.kernel.org> # v4.20+
>
> It would be nice to queue it as a fix the soonest, as it impacts 5.0 but
> not 4.20 due to a switch from one DT binding to another (read: a real
> regression)... But I know it's a bit late in the cycle...
>

Ok. Let's send it off tomorrow.