[PATCH] clk: at91: check pmc node status before registering syscore ops

Stephen Boyd sboyd at kernel.org
Thu Oct 7 20:48:02 PDT 2021


Quoting Clément Léger (2021-09-13 01:26:33)
> Currently, at91 pmc driver always register the syscore_ops whatever
> the status of the pmc node that has been found. When set as secure
> and disabled, the pmc should not be accessed or this will generate
> abort exceptions.
> To avoid this, add a check on node availability before registering
> the syscore operations.
> 
> Signed-off-by: Clément Léger <clement.leger at bootlin.com>
> ---

Applied to clk-next



More information about the linux-arm-kernel mailing list