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

Stephen Boyd sboyd at kernel.org
Tue Sep 14 15:03:01 PDT 2021


Quoting Clement Leger (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: Clement Leger <clement.leger at bootlin.com>

Any Fixes tag?



More information about the linux-arm-kernel mailing list