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:
Emmanuel Vadot 2021-01-04 17:30:00 +01:00
parent f61a3898bb
commit e5df46055a

View File

@ -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);