Commit 9bc7ccfb authored by Andre Przywara's avatar Andre Przywara Committed by Greg Kroah-Hartman
Browse files

clk: sunxi-ng: d1: Fix PLL_AUDIO0 preset



[ Upstream commit e0f253a5 ]

To work around a limitation in our clock modelling, we try to force two
bits in the AUDIO0 PLL to 0, in the CCU probe routine.
However the ~ operator only applies to the first expression, and does
not cover the second bit, so we end up clearing only bit 1.

Group the bit-ORing with parentheses, to make it both clearer to read
and actually correct.

Fixes: 35b97bb9 ("clk: sunxi-ng: Add support for the D1 SoC clocks")
Signed-off-by: default avatarAndre Przywara <andre.przywara@arm.com>
Link: https://patch.msgid.link/20241001105016.1068558-1-andre.przywara@arm.com


Signed-off-by: default avatarChen-Yu Tsai <wens@csie.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 4799f3f8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment