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

libata: retry link resume if necessary



Interestingly, when SIDPR is used in ata_piix, writes to DET in
SControl sometimes get ignored leading to detection failure.  Update
sata_link_resume() such that it reads back SControl after clearing DET
and retry if it's not clear.

Signed-off-by: default avatarTejun Heo <tj@kernel.org>
Reported-by: default avatarfengxiangjun <fengxiangjun@neusoft.com>
Reported-by: default avatarJim Faulkner <jfaulkne@ccs.neu.edu>
Cc: stable@kernel.org
Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
parent 0b67c743
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