IDE: Don't powerdown Compaq Triflex IDE device on suspend
authorMikulas Patocka <mikulas@artax.karlin.mff.cuni.cz>
Wed, 12 Oct 2011 04:31:51 +0000 (04:31 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 13 Oct 2011 21:04:49 +0000 (17:04 -0400)
commit839e7306e5d1ebd57cf12e83d9910b8b2dbe79ba
tree85977ca70f0181dac828cd6b7e2f294f2c5c4a0f
parentdc9c0beecfeb4866fdbc245c295cf30d340b702c
IDE: Don't powerdown Compaq Triflex IDE device on suspend

Don't powerdown Compaq Triflex IDE device on suspend

This fixes APM suspend on Compaq Armada 7400.
APM BIOS doesn't suspend if IDE is powered down when suspending.
The Triflex controller is found only on old Compaq boards,
so this patch will hopefully have no side effects.

This patch fixes a suspend regression introduced in
feb22b7f8e62b1b987a3a1dbad95af767a1df832 ("ide: add proper PCI PM
support (v2)").

Signed-off-by: Mikulas Patocka <mikulas@artax.karlin.mff.cuni.cz>
[bart: add commit's summary in parens]
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/ide/triflex.c