diff options
author | Stefan Wahren <stefan.wahren@i2se.com> | 2022-04-28 20:30:10 +0200 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2022-05-17 00:00:34 -0700 |
commit | 88110a9f6209be1ed7312bae029d000bc7c7e88f (patch) | |
tree | f3133501885827dd017a84ad41c1c211877fc78e /drivers/rtc | |
parent | a91b05f6b928e8fab750fc953d7df0aa6dc43547 (diff) | |
download | linux-88110a9f6209be1ed7312bae029d000bc7c7e88f.tar.bz2 |
clk: bcm2835: fix bcm2835_clock_choose_div
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@i2se.com>
Link: https://lore.kernel.org/r/20220428183010.1635248-1-stefan.wahren@i2se.com
Tested-by: Maxime Ripard <maxime@cerno.tech>
Acked-by: Maxime Ripard <maxime@cerno.tech>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/rtc')
0 files changed, 0 insertions, 0 deletions