From: Tejun Heo Date: Mon, 11 Jan 2010 02:14:44 +0000 (+0900) Subject: libata: retry link resume if necessary X-Git-Tag: v2.6.33-rc4~6^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5040ab67a2c6d5710ba497dc52a8f7035729d7b0;p=pandora-kernel.git 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: Tejun Heo Reported-by: fengxiangjun Reported-by: Jim Faulkner Cc: stable@kernel.org Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed