Re: [PATCH] clk: bcm2835: Correct the prediv logic

From: Stefan Wahren
Date: Mon May 15 2017 - 13:48:15 EST


Hi Eric,

> Eric Anholt <eric@xxxxxxxxxx> hat am 15. Mai 2017 um 19:35 geschrieben:
>
>
> From: Phil Elwell <phil@xxxxxxxxxxxxxxx>
>
> If a clock has the prediv flag set, both the integer and fractional
> parts must be scaled when calculating the resulting frequency.
>
> Signed-off-by: Phil Elwell <phil@xxxxxxxxxxxxxxx>
> Signed-off-by: Eric Anholt <eric@xxxxxxxxxx>
> ---
>
> While this is a bugfix, I haven't put a "Fixes:" line in here to get
> it automatically backported to stable.

sorry, i can't follow. How should this happen without "Fixes: "?

> We had trouble with the
> out-of-tree DSI panel driver, at least: Our old set_rate() didn't
> work, because the new PLL was just barely too fast to get the integer
> PLL divider we needed. We may run into similar troubles
> elsewhere. --anholt
>