]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
arm64: rockchip: clk: Set the write mask when setting the clock mux
authormanu <manu@FreeBSD.org>
Mon, 25 Feb 2019 17:40:00 +0000 (17:40 +0000)
committermanu <manu@FreeBSD.org>
Mon, 25 Feb 2019 17:40:00 +0000 (17:40 +0000)
commit10e5aeb6eb5aee6f5e68c10e693364fbe36efb48
tree16b8f07a05578c3f4cb25c32f57e6208b1918356
parentd5e105e7877a052bdc0cf166d988f62f897b78aa
arm64: rockchip: clk: Set the write mask when setting the clock mux

RockChip clocks have a write mask in the upper 16bits of the mux register
which wasn't set in the set_mux function.
Also the wrong parent was tested instead of the real current one, when
switch parent, test with the current one before.

Pointy Hat:    manu
MFC after: 1 week
sys/arm64/rockchip/clk/rk_clk_composite.c