diff options
author | Ondrej Zary <linux@rainbow-software.org> | 2010-09-24 23:57:02 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-09-26 15:49:38 -0700 |
commit | b0255a02351b00ca55f4eb2588d05a5db9dd1a58 (patch) | |
tree | a0e12e378089350e8d75d77ca70809e7603525e8 /drivers/leds/leds-88pm860x.c | |
parent | e0f9c4f332c99b213d4a0b7cd21dc0781ceb3d86 (diff) | |
download | linux-b0255a02351b00ca55f4eb2588d05a5db9dd1a58.tar.bz2 |
de2104x: fix power management
At least my 21041 cards come out of suspend with bus mastering disabled so
they did not work after resume(no data transferred).
After adding pci_set_master(), the driver oopsed immediately on resume -
because de_clean_rings() is called on suspend but de_init_rings() call
was missing in resume.
Also disable link (reset SIA) before sleep (de4x5 does this too).
Signed-off-by: Ondrej Zary <linux@rainbow-software.org>
Acked-by: Jeff Garzik <jgarzik@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/leds/leds-88pm860x.c')
0 files changed, 0 insertions, 0 deletions