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

From: Stephen Boyd
Date: Tue Sep 14 2021 - 18:03:05 EST


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@xxxxxxxxxxx>

Any Fixes tag?