]> git.dujemihanovic.xyz Git - u-boot.git/commit
clk: versal: Return error in case if clock setup failed
authorJay Buddhabhatti <jay.buddhabhatti@xilinx.com>
Tue, 10 Jan 2023 07:23:44 +0000 (08:23 +0100)
committerMichal Simek <michal.simek@amd.com>
Mon, 16 Jan 2023 14:33:58 +0000 (15:33 +0100)
commit29b58bba91147c3c03dcb998a1efe4a4d026d7e1
tree11608199c5884d0d0cc0dc613e9ccc67c92846bf
parent2732035da9d7e4792a4705c5f81d09dc58de9c29
clk: versal: Return error in case if clock setup failed

Currently probe is getting success even if clock setup is failed
because of that u-boot is trying to access invalid clocks. So return
error if clock setup failed.

Signed-off-by: Jay Buddhabhatti <jay.buddhabhatti@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/fa78e71211e5f68f8dc1353b357f96e6283f65a8.1673335422.git.michal.simek@amd.com
drivers/clk/clk_versal.c