[PATCH v1] pmdomain: imx8m-blk-ctrl: fix suspend/resume order
Francesco Dolcini
francesco at dolcini.it
Wed May 8 10:40:48 PDT 2024
On Thu, Apr 18, 2024 at 04:51:51PM +0100, Vitor Soares wrote:
> From: Vitor Soares <vitor.soares at toradex.com>
>
> During the probe, the genpd power_dev is added to the dpm_list after
> blk_ctrl due to its parent/child relationship. Making the blk_ctrl
> suspend after and resume before the genpd power_dev.
>
> As a consequence, the system hangs when resuming the VPU due to the
> power domain dependency.
>
> To ensure the proper suspend/resume order, add a device link betweem
> blk_ctrl and genpd power_dev. It guarantees genpd power_dev is suspended
> after and resumed before blk-ctrl.
>
Cc: Adam Ford
Francesco
More information about the linux-arm-kernel
mailing list