Files
linux/drivers/base
Rafael J. Wysocki 3a02f8cb55 PM: core: Fix device_pm_check_callbacks()
commit 157c460e10 upstream.

The device_pm_check_callbacks() function doesn't check legacy
->suspend and ->resume callback pointers under the device's
bus type, class and driver, so in some cases it may set the
no_pm_callbacks flag for the device incorrectly and then the
callbacks may be skipped during system suspend/resume, which
shouldn't happen.

Fixes: aa8e54b559 (PM / sleep: Go direct_complete if driver has no callbacks)
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-10-05 09:44:01 +02:00
..
2015-09-17 06:06:54 -07:00
2017-07-15 12:16:11 +02:00
2016-08-31 15:19:55 +02:00
2016-01-22 18:04:28 -05:00
2014-09-01 13:48:59 +02:00