mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-30 10:49:28 +00:00
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>
This commit is contained in:
parent
0e5dd46b76
commit
b8e676d243
1 changed files with 1 additions and 1 deletions
|
@ -2582,7 +2582,7 @@ static void radeon_set_suspend(struct radeonfb_info *rinfo, int suspend)
|
||||||
* calling pci_set_power_state()
|
* calling pci_set_power_state()
|
||||||
*/
|
*/
|
||||||
radeonfb_whack_power_state(rinfo, PCI_D2);
|
radeonfb_whack_power_state(rinfo, PCI_D2);
|
||||||
pci_set_power_state(rinfo->pdev, PCI_D2);
|
__pci_complete_power_transition(rinfo->pdev, PCI_D2);
|
||||||
} else {
|
} else {
|
||||||
printk(KERN_DEBUG "radeonfb (%s): switching to D0 state...\n",
|
printk(KERN_DEBUG "radeonfb (%s): switching to D0 state...\n",
|
||||||
pci_name(rinfo->pdev));
|
pci_name(rinfo->pdev));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue