]> git.baikalelectronics.ru Git - uboot.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)
commit2b72a6b0f1a29d8237ed44160f54a70bc9d68bb8
tree11608199c5884d0d0cc0dc613e9ccc67c92846bf
parentbcf0a018630b8407da70f5ad747e25c0f8e139e0
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