From db64bcf387aae6c7afad122a529d7d0513d3c5db Mon Sep 17 00:00:00 2001 From: Tejun Heo Date: Wed, 31 Oct 2007 10:17:06 +0900 Subject: [PATCH] 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-format-patch failed