summaryrefslogtreecommitdiff
path: root/include/linux/device.h
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2016-10-30 19:28:49 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-10-31 20:42:51 +0300
commit8c73b4288496407d91bc616df3f7c62a88356cb2 (patch)
treebcbe494732ed13c518504738fe5f79b8de41f1e2 /include/linux/device.h
parent9ed9895370aedd6032af2a9181c62c394d08223b (diff)
downloadlinux-8c73b4288496407d91bc616df3f7c62a88356cb2.tar.xz
PM / sleep: Make async suspend/resume of devices use device links
Make the device suspend/resume part of the core system suspend/resume code use device links to ensure that supplier and consumer devices will be suspended and resumed in the right order in case of async suspend/resume. The idea, roughly, is to use dpm_wait() to wait for all consumers before a supplier device suspend and to wait for all suppliers before a consumer device resume. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Tested-by: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/device.h')
0 files changed, 0 insertions, 0 deletions