aboutsummaryrefslogtreecommitdiff
path: root/drivers/pmdomain/imx/imx93-blk-ctrl.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pmdomain/imx/imx93-blk-ctrl.c')
-rw-r--r--drivers/pmdomain/imx/imx93-blk-ctrl.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/pmdomain/imx/imx93-blk-ctrl.c b/drivers/pmdomain/imx/imx93-blk-ctrl.c
index 904ffa55b8f4..b10348ac10f0 100644
--- a/drivers/pmdomain/imx/imx93-blk-ctrl.c
+++ b/drivers/pmdomain/imx/imx93-blk-ctrl.c
@@ -313,7 +313,9 @@ static void imx93_blk_ctrl_remove(struct platform_device *pdev)
of_genpd_del_provider(pdev->dev.of_node);
- for (i = 0; bc->onecell_data.num_domains; i++) {
+ pm_runtime_disable(&pdev->dev);
+
+ for (i = 0; i < bc->onecell_data.num_domains; i++) {
struct imx93_blk_ctrl_domain *domain = &bc->domains[i];
pm_genpd_remove(&domain->genpd);