[PATCH] clk: rockchip: validity should be checked prior to clock rate change
heiko at sntech.de
Tue Nov 8 05:26:54 PST 2016
Am Dienstag, 8. November 2016, 17:10:14 schrieb Elaine Zhang:
> If validity is not checked prior to clock rate change, clk_set_rate(
> cpu_clk, unsupported_rate) will return success, but the real clock rate
> change operation is prohibited in post clock change event. Alough post
> clock change event will report error due to unsupported clock rate is
> set, but this error message is ignored by clock framework.
> Signed-off-by: Elaine Zhang <zhangqing at rock-chips.com>
> Signed-off-by: Rocky Hao <rocky.hao at rock-chips.com>
looks good and thanks for catching this. Just a bureaucracy-question regarding
the Signed-off-by lines, before I can apply the patch as I don't really know
how Rocky fits into the picture.
I.e. was he the original patch author (the we should change the from) or a
reviewer/tester for the fixed issue?
More information about the Linux-rockchip