HomeFreeBSD

arm64: allwinner: clk: Test with the current parent freq first

Description

arm64: allwinner: clk: Test with the current parent freq first

Even if the clock is flagged with AW_CLK_SET_PARENT the current parent
freq might be enough to get a correct divisor.
So test first if we can get the expected freq before changing the parent
freq.

(cherry picked from commit ac1d7397bf33acf8955fc0871ff124550bf50d1f)

Details

Provenance
manuAuthored on May 31 2021, 12:06 PM
Parents
rGf7e159e926d0: arm: Add no-cftconvert for sdma-imx6 files
Branches
Unknown
Tags
Unknown