Re: [PATCH] clk: at91: check pmc node status before registering syscore ops
From: Stephen Boyd
Date: Thu Oct 07 2021 - 23:48:07 EST
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@xxxxxxxxxxx>
> ---
Applied to clk-next