]> git.ipfire.org Git - thirdparty/u-boot.git/commit
Revert "clk: Return value calculated by ERR_PTR"
authorTom Rini <trini@konsulko.com>
Fri, 12 Dec 2025 01:19:06 +0000 (19:19 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 12 Dec 2025 14:00:54 +0000 (08:00 -0600)
commitaff0f4d30ec6d7968578fc05fc6df6b5700d9913
treebf94298050837aecee2249adcc6e9a5d48d152ab
parent802fbe0a287130c4800510ac6df3850c27606ff0
Revert "clk: Return value calculated by ERR_PTR"

While this change was intended to fix a mistake in the code, of calling
the ERR_PTR macro but not making use of the result, it seems that
functionally platforms depend on the loop not existing here. The TI K3
families of platforms for example were broken by this commit.

This reverts commit fe780310cfa8bf5a093894b5cd7fe85c6b02fd91.

Reported-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Andrew Goodbody <andrew.goodbody@linaro.org>
Reviewed-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
arch/sandbox/include/asm/clk.h
drivers/clk/clk-uclass.c
drivers/clk/clk_sandbox.c
test/dm/clk.c