[PATCH] pmdomain: bcm: bcm2835: handle genpd provider registration errors
Stefan Wahren
wahrenst at gmx.net
Tue Jun 23 07:12:30 PDT 2026
Am 23.06.26 um 15:59 schrieb Pengpeng Hou:
> bcm2835_power_probe() initializes all power domains and then registers
> the onecell genpd provider, but ignores of_genpd_add_provider_onecell()
> failures. Probe can therefore return success even though no provider was
> published.
>
> Check the provider registration return value and jump to the existing
> cleanup path on failure.
>
> Fixes: 670c672608a1 ("soc: bcm: bcm2835-pm: Add support for power domains under a new binding.")
> Signed-off-by: Pengpeng Hou <pengpeng at iscas.ac.cn>
Reviewed-by: Stefan Wahren <wahrenst at gmx.net>
More information about the linux-arm-kernel
mailing list