Searched hist:"4 a262b14c57d6ec88982d40273e742f7b9151560" (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/clk/rockchip/ |
H A D | clk-ddr.c | diff 4a262b14c57d6ec88982d40273e742f7b9151560 Wed Oct 12 14:31:41 CEST 2016 Shawn Lin <shawn.lin@rock-chips.com> clk: rockchip: don't return NULL when failing to register ddrclk branch
rockchip_clk_register_ddrclk should not return NULL when failing to call clk_register, otherwise rockchip_clk_register_branches prints "unknown clock type". The actual case is that it's a known clock type but we fail to register 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@rock-chips.com> Signed-off-by: Heiko Stuebner <heiko@sntech.de>
|