diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-02-04 20:06:52 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-02-08 13:48:57 -0500 |
commit | 1fb25cb8b83e85f5bf1a4adb3c9a254c4ce92405 (patch) | |
tree | e591b556e43577f34eb90e9a4d8342ff97bef4ef /drivers/video/atmel_lcdfb.c | |
parent | b746bb77627cba62765ff2afeec9cc9a8cbb926c (diff) |
radeonfb: Fix resume from D3Cold on some platforms
For historical reason, this driver used its own saving/restoring
of the PCI config space, and used the state of it on resume as
an indication as to whether it needed to re-POST the chip or not.
This methods breaks with the later core changes since the core will
have restored things for us.
This patch fixes it by removing that custom code, using standard
core methods to save/restore state, and testing for the need to
re-POST by comparing the content of a few key PLL registers.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video/atmel_lcdfb.c')
0 files changed, 0 insertions, 0 deletions