From: Tejun Heo Date: Wed, 31 Oct 2007 01:17:06 +0000 (+0900) Subject: libata: request PHY speed configuration on SControl access failure X-Git-Tag: v2.6.24-rc2~48^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=db64bcf387aae6c7afad122a529d7d0513d3c5db;p=pandora-kernel.git libata: request PHY speed configuration on SControl access failure In sata_set_spd_needed(), if SControl read failed, it returned 0 and skipped PHY speed configuration. However, if SControl access fails, it's far more logical to request PHY speed configuration. Reverse the logic. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed