diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-02-05 02:06:51 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-02-08 19:48:56 +0100 |
commit | b746bb77627cba62765ff2afeec9cc9a8cbb926c (patch) | |
tree | d6a1b84104e0891d1d39d2968db3194e26b392d0 /drivers/video/c2p_iplan2.c | |
parent | atyfb: Properly save PCI state before changing PCI PM level (diff) | |
download | linux-b746bb77627cba62765ff2afeec9cc9a8cbb926c.tar.xz linux-b746bb77627cba62765ff2afeec9cc9a8cbb926c.zip |
aty128fb: Properly save PCI state before changing PCI PM level
This fixes aty128fb to properly save the PCI config space -before- it
potentially switches the PM state of the chip. This avoids a
warning with the new PM core and is the right thing to do anyway.
I also replaced the hand-coded switch to D2 with a call to the
genericc pci_set_power_state() and removed the code that switches it
back to D0 since the generic code is doing that for us nowadays.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video/c2p_iplan2.c')
0 files changed, 0 insertions, 0 deletions