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)
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

Simple merge