linux_dsm_epyc7002/drivers/pnp
Rafael J. Wysocki 36e02b6208 PNP: make pnpacpi_suspend handle errors
pnpacpi_suspend() doesn't check the result returned by
acpi_pm_device_sleep_state() before passing it to acpi_bus_set_power(),
which may not be desirable.   Make it select the target power state of the
device using its second argument if acpi_pm_device_sleep_state() fails.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Looks-ok-to: Pavel Machek <pavel@ucw.cz>
Cc: Adam Belay <ambx1@neo.rr.com>
Cc: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-10-17 08:43:04 -07:00
..
isapnp [ALSA] Changed Jaroslav Kysela's e-mail from perex@suse.cz to perex@perex.cz 2007-10-16 16:51:18 +02:00
pnpacpi PNP: make pnpacpi_suspend handle errors 2007-10-17 08:43:04 -07:00
pnpbios pnp: avoid a small unlikely memory leak in proc_read_escd() 2007-10-17 08:42:51 -07:00
base.h [PATCH] PNP: export pnp_bus_type 2007-02-11 10:51:28 -08:00
card.c PNP: fix up after Lindent 2007-08-24 01:27:23 -04:00
core.c PNP: remove null pointer checks 2007-08-24 01:27:24 -04:00
driver.c PNP: remove null pointer checks 2007-08-24 01:27:24 -04:00
interface.c [ALSA] Changed Jaroslav Kysela's e-mail from perex@suse.cz to perex@perex.cz 2007-10-16 16:51:18 +02:00
Kconfig Use menuconfig objects: PNP 2007-07-16 09:05:40 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
manager.c [ALSA] Changed Jaroslav Kysela's e-mail from perex@suse.cz to perex@perex.cz 2007-10-16 16:51:18 +02:00
quirks.c PNP: remove SMCf010 quirk 2007-09-11 17:21:19 -07:00
resource.c [ALSA] Changed Jaroslav Kysela's e-mail from perex@suse.cz to perex@perex.cz 2007-10-16 16:51:18 +02:00
support.c PNP: fix up after Lindent 2007-07-26 11:35:21 -07:00
system.c PNP: fix up after Lindent 2007-07-26 11:35:21 -07:00