]> git.baikalelectronics.ru Git - kernel.git/commit
libata: fix follow-up SRST failure path
authorTejun Heo <tj@kernel.org>
Wed, 8 Jul 2009 03:16:37 +0000 (12:16 +0900)
committerJeff Garzik <jgarzik@redhat.com>
Wed, 15 Jul 2009 02:41:28 +0000 (22:41 -0400)
commit6117b1b750f23d8effa05bb3daf76dba4c80ea6e
treece6bfcc0a34066c246667a31bf9f1d5f9538f651
parent18f39e1a285ba63869bb4f929709e8a20d5dc749
libata: fix follow-up SRST failure path

ata_eh_reset() was missing error return handling after follow-up SRST
allowing EH to continue the normal probing path after reset failure.
This was discovered while testing new WD 2TB drives which take longer
than 10 secs to spin up and cause the first follow-up SRST to time
out.

Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/libata-eh.c