Re: [PATCH] clk: bcm2835: fix bcm2835_clock_choose_div

From: Stephen Boyd
Date: Tue May 17 2022 - 03:02:13 EST


Quoting Stefan Wahren (2022-04-28 11:30:10)
> The commit 09e3b18ca5de ("clk: bcm2835: Remove unused variable")
> accidentially breaks the behavior of bcm2835_clock_choose_div() and
> booting of Raspberry Pi. The removed do_div macro call had side effects,
> so we need to restore it.
>
> Fixes: 09e3b18ca5de ("clk: bcm2835: Remove unused variable")
> Signed-off-by: Stefan Wahren <stefan.wahren@xxxxxxxx>
> ---

Applied to clk-fixes