diff options
author | Benjamin Herrenschmidt <[email protected]> | 2009-03-20 09:22:30 +1100 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2009-03-22 11:08:53 -0700 |
commit | 18a0d89e54ca0f6f33582f99ae39867b2c975559 (patch) | |
tree | 6698711fdad0ded22c69b1e83d2984ffaf70cb96 /fs/jbd2/commit.c | |
parent | 65c24491b4fef017c64e39ec64384fde5e05e0a0 (diff) |
radeonfb: Whack the PCI PM register until it sticks
This fixes a regression introduced when we switched to using the core
pci_set_power_state(). The chip seems to need the state to be written
over and over again until it sticks, so we do that.
Note that the code is a bit blunt, without timeout, etc... but that's
pretty much because I put back in there the code exactly as it used to
be before the regression. I still add a call to pci_set_power_state()
at the end so that ACPI gets called appropriately on x86.
Signed-off-by: Benjamin Herrenschmidt <[email protected]>
Tested-by: Raymond Wooninck <[email protected]>
Acked-by: Rafael J. Wysocki <[email protected]>
Cc: Jesse Barnes <[email protected]>
Cc: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions