]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
libata: skip EH autopsy and recovery during suspend
authorTejun Heo <htejun@gmail.com>
Tue, 7 Sep 2010 12:05:31 +0000 (14:05 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 20 Sep 2010 20:36:32 +0000 (13:36 -0700)
commitff4adc0b087a98b7202a53fd134d18fb078c1d12
tree3b4b0a703fbd879eb60b65a5e480498d3ba8f067
parent25de680b83ee668dd4d7c3d530217cb70cf58833
libata: skip EH autopsy and recovery during suspend

commit e2f3d75fc0e4a0d03c61872bad39ffa2e74a04ff upstream.

For some mysterious reason, certain hardware reacts badly to usual EH
actions while the system is going for suspend.  As the devices won't
be needed until the system is resumed, ask EH to skip usual autopsy
and recovery and proceed directly to suspend.

Signed-off-by: Tejun Heo <tj@kernel.org>
Tested-by: Stephan Diestelhorst <stephan.diestelhorst@amd.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/ata/libata-core.c
drivers/ata/libata-eh.c
include/linux/libata.h