[PATCH] thermal/drivers/sun8i: Fix some error handling paths in sun8i_ths_probe()
Ondřej Jirman
megi at xff.cz
Sun May 14 10:10:39 PDT 2023
On Sun, May 14, 2023 at 07:00:34PM +0200, Christophe JAILLET wrote:
>
> Le 14/05/2023 à 17:35, Ondřej Jirman a écrit :
> > Hello Christophe,
> >
> > [...]
> >
> > This changes the recommeded order of reset release/clock enable steps, eg. A64
> > manual says:
> >
> > 3.3.6.4. Gating and reset
> >
> > Make sure that the reset signal has been released before the release of
> > module clock gating;
>
> Ok, so moving reset_control_deassert() (and my proposed
> devm_add_action_or_reset()) just after devm_reset_control_get() should keep
> the expected order, right?
That would be after reset_control_deassert(). devm_reset_control_get() is just
resource management, like devm_clk_get().
regards,
o.
More information about the linux-arm-kernel
mailing list