diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2008-10-30 00:22:14 +0300 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-10-31 07:52:17 +0300 |
commit | 5177b3240a6608fc0c9c05cc32f4855c6540f8d5 (patch) | |
tree | a3a8063d2b722e5df04853f82483ee23759e85c7 /sound/pci/cmipci.c | |
parent | c8db3fec5b02f4cefe441903fe1c142ff14e1771 (diff) | |
download | linux-5177b3240a6608fc0c9c05cc32f4855c6540f8d5.tar.xz |
skge: adapt skge to use reworked PCI PM
Adapt the skge driver to the reworked PCI PM
* Use device_set_wakeup_enable() and friends as needed
* Remove an open-coded reference to the standard PCI PM registers
* Use pci_prepare_to_sleep() and pci_back_from_sleep() in the
->suspend() and ->resume() callbacks
* Use the observation that it is sufficient to call pci_enable_wake()
once, unless it fails
Tested on Asus L5D (Yukon-Lite rev 7).
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Cc: Stephen Hemminger <shemminger@linux-foundation.org>
Cc: Jeff Garzik <jeff@garzik.org>
Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'sound/pci/cmipci.c')
0 files changed, 0 insertions, 0 deletions