arm64: rockchip: rk_clk_mux: Tell the clk framework if we didn't change the clock
Otherwise the clk framework will not pass the freq change request to the clock
parents.
Fix d03fd8ede2
Reported by: br
This commit is contained in:
parent
f61a3898bb
commit
e5df46055a
@ -138,8 +138,10 @@ rk_clk_mux_set_freq(struct clknode *clk, uint64_t fparent, uint64_t *fout,
|
||||
|
||||
sc = clknode_get_softc(clk);
|
||||
|
||||
if ((sc->mux_flags & RK_CLK_MUX_REPARENT) == 0)
|
||||
if ((sc->mux_flags & RK_CLK_MUX_REPARENT) == 0) {
|
||||
*stop = 0;
|
||||
return (0);
|
||||
}
|
||||
|
||||
dprintf("Finding best parent for target freq of %ju\n", *fout);
|
||||
p_names = clknode_get_parent_names(clk);
|
||||
|
Loading…
Reference in New Issue
Block a user