sata_nv: make hardreset return -EAGAIN on success
authorTejun Heo <htejun@gmail.com>
Wed, 23 Apr 2008 03:14:05 +0000 (12:14 +0900)
committerJeff Garzik <jgarzik@redhat.com>
Fri, 25 Apr 2008 04:45:48 +0000 (00:45 -0400)
commita0b9f4bc1ec2ea25e47e7958e544fef0d122e012
tree26b175215a1a1abad610115ba26f6578760239f3
parent15fe982e429e0e6b7466719acb6cfd9dbfe47f0c
sata_nv: make hardreset return -EAGAIN on success

sata_nv hardreset can't classify but was left out while unifying
follow-up SRST request mechanism[1].  This caused detection failures
on those controllers.  Fix it.

Reported and bisected by Roland Dreier, Petr Vandrovec and Marc
Dionne.  Thanks guys.

[1] 305d2a1ab137d11d573319c315748a87060fe82d

Signed-off-by: Tejun Heo <htejun@gmail.com>
Cc: Roland Dreier <rdreier@cisco.com>
Cc: Petr Vandrovec <vandrove@vc.cvut.cz>
Cc: Marc Dionne <marc.c.dionne@gmail.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/sata_nv.c