]> git.baikalelectronics.ru Git - kernel.git/commit
PM / sleep: trace_device_pm_callback coverage in dpm_prepare/complete
authorTodd E Brandt <todd.e.brandt@linux.intel.com>
Thu, 28 May 2015 19:55:53 +0000 (12:55 -0700)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 10 Jun 2015 00:24:49 +0000 (02:24 +0200)
commit44888c52f68545227e90e7245a34df01a066b6f6
tree365a043cb36d98d8f675e4d9bfa4be58ca02fcd8
parent09fdbdc72417a54414652f9e8e18ad6353d6e2f1
PM / sleep: trace_device_pm_callback coverage in dpm_prepare/complete

Move the trace_device_pm_callback locations for dpm_prepare and dpm_complete
to encompass the attempt to capture the device mutex prior to callback. This
is needed by analyze_suspend to identify gaps in the trace output caused by
the delay in locking the mutex for a device.

Signed-off-by: Todd Brandt <todd.e.brandt@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/base/power/main.c