[PATCH] clk: rockchip: don't return NULL when failing to register ddrclk branch

Heiko Stuebner heiko at sntech.de
Fri Oct 14 10:06:00 PDT 2016


Am Mittwoch, 12. Oktober 2016, 20:31:41 CEST schrieb Shawn Lin:
> rockchip_clk_register_ddrclk should not return NULL when faling
> to call clk_register, otherwise rockchip_clk_register_branches
> prints "unknown clock type". The acutal case is that it's a known
> clock type but we fail to regiser it, which may makes user confuse
> the reason of failure. And the pr_err here is pointless as
> rockchip_clk_register_branches will also print the similar message.
> 
> Signed-off-by: Shawn Lin <shawn.lin at rock-chips.com>

thanks for catching this ... applied to a clk-fixes branch for 4.9



More information about the Linux-rockchip mailing list