[PATCH] clk: bcm2835: fix bcm2835_clock_choose_div

Stephen Boyd sboyd at kernel.org
Tue May 17 00:01:25 PDT 2022


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 at i2se.com>
> ---

Applied to clk-fixes



More information about the linux-arm-kernel mailing list