Revert "clk: Detect failure to set defaults"
authorMarek Vasut <marex@denx.de>
Sat, 1 Jan 2022 18:51:39 +0000 (19:51 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 7 Jan 2022 14:30:45 +0000 (09:30 -0500)
commit75f080df46f28f24a617652c8af028cc349f908b
tree4306307c8f9955c56861127d1f5adad54ebec80b
parent392aa4ba96ba1197665f95f96c087a893a6d3610
Revert "clk: Detect failure to set defaults"

This reverts commit 92f1e9a4b31c0bf0f4f61ab823a6a88657323646.
The aforementioned patch causes massive breakage on all platforms which
have 'assigned-clock' DT property in their DT which references any clock
that are not supported by the platform clock driver. That can easily
happen either in SPL, or because the clock driver is reduced. Currently
it seems all iMX8M are affected and fail to boot altogether.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Peng Fan <peng.fan@oss.nxp.com>
Cc: Simon Glass <sjg@chromium.org>
Reviewed-by: Sean Anderson <seanga2@gmail.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/clk/clk-uclass.c