]> 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)
commita252e59f63db319804f6122cfc19c786aa0b1b8a
tree365a043cb36d98d8f675e4d9bfa4be58ca02fcd8
parentdc803cea1440b64622c8e9164d63a55fca82a29e
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