]> git.dujemihanovic.xyz Git - u-boot.git/commit
clk: Fix error check in clk_set_default_parents()
authorJean-Jacques Hiblot <jjhiblot@ti.com>
Thu, 26 Sep 2019 13:42:42 +0000 (15:42 +0200)
committerLukasz Majewski <lukma@denx.de>
Tue, 22 Oct 2019 14:14:05 +0000 (16:14 +0200)
commit02e2a2ad2f01a5b88e3ff2b694de63c0b5c849f2
tree011b25ec616a39a6a7ac255e12c7c84c6b19114d
parent44510daea4d07fee736dd90411c4b503340b449e
clk: Fix error check in clk_set_default_parents()

According to the documentation in clk.h, clk_set_parent() return the new
rate of the clock or a negative error code.

Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
drivers/clk/clk-uclass.c