Commit d274c77f authored by Yao Zi's avatar Yao Zi Committed by Drew Fustini
Browse files

clk: thead: th1520-ap: Correctly refer the parent of osc_12m



The "osc_12m" fixed factor clock refers the external oscillator by
setting clk_parent_data.fw_name to osc_24m, which is obviously wrong
since no clock-names property is allowed for compatible
thead,th1520-clk-ap.

Refer the oscillator as parent by index instead.

Fixes: ae81b69f ("clk: thead: Add support for T-Head TH1520 AP_SUBSYS clocks")
Signed-off-by: default avatarYao Zi <ziyao@disroot.org>
Reviewed-by: default avatarDrew Fustini <fustini@kernel.org>
Signed-off-by: default avatarDrew Fustini <fustini@kernel.org>
parent 0370395d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment