[GIT PULL] Power management fix for v5.16-rc7

From: Rafael J. Wysocki
Date: Tue Dec 21 2021 - 14:42:14 EST


Hi Linus,

Please pull from the tag

git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \
pm-5.16-rc7

with top-most commit 544e737dea5ad1a457f25dbddf68761ff25e028b

PM: sleep: Fix error handling in dpm_prepare()

on top of commit 2585cf9dfaaddf00b069673f27bb3f8530e2039c

Linux 5.16-rc5

to receive a power management fix for 5.16-rc7.

This fixes a recent regression causing the loop in dpm_prepare()
to become infinite if one of the device ->prepare() callbacks
returns an error.

Thanks!


---------------

Rafael J. Wysocki (1):
PM: sleep: Fix error handling in dpm_prepare()

---------------

drivers/base/power/main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)