Re: [linux-pm] [PATCH] ACPI: Make pnpacpi_suspend handle errors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi!

> 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@xxxxxxx>

Looks ok to me.
								Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux