Skip to content

Commit e20813d

Browse files
Saravana Kannangregkh
authored andcommitted
Revert "PM: domains: Delete usage of driver_deferred_probe_check_state()"
This reverts commit 5a46079. Quite a few issues have been reported [1][2][3][4][5][6] on the original commit. While about half of them have been fixed, I'll need to fix the rest before driver_deferred_probe_check_state() can be deleted. So, revert the deletion for now. [1] - https://lore.kernel.org/all/DU0PR04MB941735271F45C716342D0410886B9@DU0PR04MB9417.eurprd04.prod.outlook.com/ [2] - https://lore.kernel.org/all/CM6REZS9Z8AC.2KCR9N3EFLNQR@otso/ [3] - https://lore.kernel.org/all/CAD=FV=XYVwaXZxqUKAuM5c7NiVjFz5C6m6gAHSJ7rBXBF94_Tg@mail.gmail.com/ [4] - https://lore.kernel.org/all/Yvpd2pwUJGp7R+YE@euler/ [5] - https://lore.kernel.org/lkml/[email protected]/ [6] - https://lore.kernel.org/all/CA+G9fYt_cc5SiNv1Vbse=HYY_+uc+9OYPZuJ-x59bROSaLN6fw@mail.gmail.com/ Fixes: 5a46079 ("PM: domains: Delete usage of driver_deferred_probe_check_state()") Reported-by: Peng Fan <[email protected]> Reported-by: Luca Weiss <[email protected]> Reported-by: Doug Anderson <[email protected]> Reported-by: Colin Foster <[email protected]> Reported-by: Tony Lindgren <[email protected]> Reported-by: Alexander Stein <[email protected]> Reported-by: Naresh Kamboju <[email protected]> Tested-by: Tony Lindgren <[email protected]> Tested-by: Peng Fan <[email protected]> Tested-by: Douglas Anderson <[email protected]> Tested-by: Alexander Stein <[email protected]> Reviewed-by: Tony Lindgren <[email protected]> Acked-by: Ulf Hansson <[email protected]> Signed-off-by: Saravana Kannan <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent cffaf97 commit e20813d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/base/power/domain.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2733,7 +2733,7 @@ static int __genpd_dev_pm_attach(struct device *dev, struct device *base_dev,
27332733
mutex_unlock(&gpd_list_lock);
27342734
dev_dbg(dev, "%s() failed to find PM domain: %ld\n",
27352735
__func__, PTR_ERR(pd));
2736-
return -ENODEV;
2736+
return driver_deferred_probe_check_state(base_dev);
27372737
}
27382738

27392739
dev_dbg(dev, "adding to PM domain %s\n", pd->name);

0 commit comments

Comments
 (0)