linux/drivers/pmdomain/rockchip
Shawn Lin 4c66c42359 pmdomain: rockchip: don't ignore clock lookup errors on attach
rockchip_pd_attach_dev() treated every of_clk_get() error as the end
of the clock list, so a clock that exists but is not available yet
(e.g. -EPROBE_DEFER) was silently skipped and the device ended up
without pm_clk management.  Only -ENOENT means there are no more
clocks.

Fixes: 7c696693a4 ("soc: rockchip: power-domain: Add power domain driver")
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Cc: stable@vger.kernel.org
Signed-off-by: Ulf Hansson <ulfh@kernel.org>
History 2026-09-28 15:36:50 +02:00
..
Kconfig pmdomain: rockchip: enable ROCKCHIP_PM_DOMAINS with ARCH_ROCKCHIP 2025-09-17 16:19:05 +02:00
Makefile pmdomain: Rename the genpd subsystem to pmdomain 2023-09-13 11:09:21 +02:00
pm-domains.c pmdomain: rockchip: don't ignore clock lookup errors on attach 2026-09-28 15:36:50 +02:00