Benjamin Herrenschmidt b746bb7762 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>
2009-02-08 10:48:56 -08:00
..
2009-01-26 21:19:52 +01:00
2008-10-16 11:21:45 -07:00
2008-07-24 10:47:37 -07:00
2009-01-06 15:59:26 -08:00
2009-01-08 16:29:41 +00:00
2009-01-12 20:56:32 +01:00
2009-01-12 20:56:32 +01:00
2008-07-24 10:47:34 -07:00
2008-11-19 18:49:59 -08:00
2008-05-18 13:28:49 -07:00
2008-12-16 15:43:50 +01:00
2009-01-21 10:32:34 -07:00
2008-04-28 08:58:41 -07:00
2009-01-06 15:59:27 -08:00
2009-01-06 15:59:27 -08:00
2008-11-27 12:37:59 +00:00
2008-07-26 12:00:12 -07:00
2008-10-16 11:21:42 -07:00
2008-07-04 10:40:08 -07:00