HomeFreeBSD

arm64: rockchip: clk: Set the write mask when setting the clock mux

Description

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

Details

Provenance
manuAuthored on Feb 25 2019, 5:40 PM
Parents
rGd3248c4170bc: Resolve a name conflict when both SpiFlash and DataFlash devices are present.
Branches
Unknown
Tags
Unknown

Event Timeline