diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2009-03-26 17:52:08 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rjw@sisk.pl> | 2009-03-30 15:46:56 -0400 |
commit | b8e676d2432b8ce96967a3fe6601a0a28e64fa10 (patch) | |
tree | 6cebb9e8a05a3cbf4500bf95afa458d913ce3faf /drivers/video/aty | |
parent | 0e5dd46b761195356065a30611f265adec286d0d (diff) |
radeonfb: Use __pci_complete_power_transition()
Use __pci_complete_power_transition() to finalize the transition into
D2 after programming the PMCSR of the device directly.
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'drivers/video/aty')
-rw-r--r-- | drivers/video/aty/radeon_pm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/aty/radeon_pm.c b/drivers/video/aty/radeon_pm.c index c6d7cc76516f..1de0c0032468 100644 --- a/drivers/video/aty/radeon_pm.c +++ b/drivers/video/aty/radeon_pm.c | |||
@@ -2582,7 +2582,7 @@ static void radeon_set_suspend(struct radeonfb_info *rinfo, int suspend) | |||
2582 | * calling pci_set_power_state() | 2582 | * calling pci_set_power_state() |
2583 | */ | 2583 | */ |
2584 | radeonfb_whack_power_state(rinfo, PCI_D2); | 2584 | radeonfb_whack_power_state(rinfo, PCI_D2); |
2585 | pci_set_power_state(rinfo->pdev, PCI_D2); | 2585 | __pci_complete_power_transition(rinfo->pdev, PCI_D2); |
2586 | } else { | 2586 | } else { |
2587 | printk(KERN_DEBUG "radeonfb (%s): switching to D0 state...\n", | 2587 | printk(KERN_DEBUG "radeonfb (%s): switching to D0 state...\n", |
2588 | pci_name(rinfo->pdev)); | 2588 | pci_name(rinfo->pdev)); |