PM / mfd: intel-lpss: Push system sleep callbacks to late/early stages
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sun, 24 Sep 2017 23:20:35 +0000 (01:20 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Thu, 5 Oct 2017 10:59:54 +0000 (12:59 +0200)
commite00952c7904a34359872813c3b072eba55065090
tree3a511c8336346079fc12867306a1fcad87da38ff
parent126dbc6b49c8670ebe78174c159520d5993b4459
PM / mfd: intel-lpss: Push system sleep callbacks to late/early stages

Push the system suspend/resume callbacks of intel-lpss to the late
suspend/early resume stages to allow child device callbacks to be
pushed to the late/early stages of suspend/resume too, so as to
make it possible to avoid resuming the children if they are runtime-
suspended during system suspend going forward.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Tested-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Tested-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Tested-by: Johannes Stezenbach <js@sig21.net>
Tested-by: Rajat Jain <rajatja@google.com>
Acked-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/mfd/intel-lpss.h