@@ -422,9 +422,10 @@ static int rpm_idle(struct device *dev, int rpmflags)
callback = RPM_GET_CALLBACK(dev, runtime_idle);
- if (callback)
+ if (callback) {
+ dev_info(dev, "rpm_idle\n");
retval = __rpm_callback(callback, dev);
-
+ }
dev->power.idle_notification = false;
wake_up_all(&dev->power.wait_queue);
@@ -593,6 +594,7 @@ static int rpm_suspend(struct device *dev, int rpmflags)
callback = RPM_GET_CALLBACK(dev, runtime_suspend);
dev_pm_enable_wake_irq_check(dev, true);
+ dev_info(dev, "rpm_suspend\n");
retval = rpm_callback(callback, dev);
if (retval)
goto fail;
@@ -815,6 +817,7 @@ static int rpm_resume(struct device *dev, int rpmflags)
callback = RPM_GET_CALLBACK(dev, runtime_resume);
dev_pm_disable_wake_irq_check(dev);
+ dev_info(dev, "rpm_resume\n");
retval = rpm_callback(callback, dev);
if (retval) {
__update_runtime_status(dev, RPM_SUSPENDED);