mbox series

[0/2] PM: runtime: Fix race getting/putting suppliers at probe

Message ID 20210326105619.27570-1-adrian.hunter@intel.com (mailing list archive)
Headers show
Series PM: runtime: Fix race getting/putting suppliers at probe | expand

Message

Adrian Hunter March 26, 2021, 10:56 a.m. UTC
Hi

SCSI UFS is starting to use device links for power management but
has run into issues. Here are 2 patches that seem to help.


Adrian Hunter (2):
      PM: runtime: Fix ordering in pm_runtime_get_suppliers()
      PM: runtime: Fix race getting/putting suppliers at probe

 drivers/base/power/runtime.c | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)


Regards
Adrian

Comments

Rafael J. Wysocki March 26, 2021, 4:42 p.m. UTC | #1
On Fri, Mar 26, 2021 at 11:56 AM Adrian Hunter <adrian.hunter@intel.com> wrote:
>
> Hi
>
> SCSI UFS is starting to use device links for power management but
> has run into issues. Here are 2 patches that seem to help.
>
>
> Adrian Hunter (2):
>       PM: runtime: Fix ordering in pm_runtime_get_suppliers()
>       PM: runtime: Fix race getting/putting suppliers at probe

Both look good to me, so queuing them up for the next 5.12-rc, thanks!