]> git.dujemihanovic.xyz Git - u-boot.git/commit
clk: Dont return error when assigned-clocks is empty or missing
authorAshok Reddy Soma <ashok.reddy.soma@amd.com>
Wed, 30 Aug 2023 08:31:42 +0000 (10:31 +0200)
committerMichal Simek <michal.simek@amd.com>
Thu, 21 Sep 2023 11:20:11 +0000 (13:20 +0200)
commit99b46477e3495f819f6826d11470d46f12a4f9f7
treea9d851b4d23a6eae63d760fd4b95bdedcdf708f9
parente5e6b1ed6c11842fe51b59e9bd9f1cf55401ae4b
clk: Dont return error when assigned-clocks is empty or missing

There is a chance that assigned-clock-rates is given and assigned-clocks
could be empty. Dont return error in that case, because the probe of the
corresponding driver will not be called at all if this fails.
Better to continue to look for it and return 0.

Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@amd.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/a9a9d853e0ac396cd9b3577cce26279a75765711.1693384296.git.michal.simek@amd.com
arch/sandbox/dts/test.dts
drivers/clk/clk-uclass.c
test/dm/clk.c