diff options
author | Mika Westerberg <mika.westerberg@linux.intel.com> | 2016-02-18 11:54:16 +0300 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2016-02-19 18:52:46 +0300 |
commit | bb03c640697155639b2e15e2aaa4c10f60bf0d5e (patch) | |
tree | 4da2ec9458ed24d9774ab1d89c17b3fe4b69209b /net/unix/af_unix.c | |
parent | f1d848f9fb0896809be90a4b6ab8a97e1b6e86aa (diff) | |
download | linux-bb03c640697155639b2e15e2aaa4c10f60bf0d5e.tar.xz |
ahci: Add functions to manage runtime PM of AHCI ports
Add new functions ahci_rpm_get_port()/ahci_rpm_put_port() that change
runtime PM status of AHCI ports. Depending if the AHCI host has runtime PM
enabled or disabled calling these may trigger runtime suspend/resume of the
host controller.
We also call these functions in appropriate places to make sure host
controller registers are available before using them.
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions