Skip to content
Commit 305d2a1a authored by Tejun Heo's avatar Tejun Heo Committed by Jeff Garzik
Browse files

libata: unify mechanism to request follow-up SRST



Previously, there were two ways to trigger follow-up SRST from
hardreset method - returning -EAGAIN and leaving all device classes
unmodified.  Drivers never used the latter mechanism and the only use
case for the former was when hardreset couldn't classify.

Drop the latter mechanism and let -EAGAIN mean "perform follow-up SRST
if classification is required".  This change removes unnecessary
follow-up SRSTs and simplifies reset implementations.

Signed-off-by: default avatarTejun Heo <htejun@gmail.com>
parent 5958e302
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment