From: Tejun Heo Date: Thu, 29 Jan 2009 11:31:31 +0000 (+0900) Subject: libata: check onlineness before using SPD in sata_down_spd_limit() X-Git-Tag: v2.6.29-rc4~64^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9913ff8abf1c70a8d52560dc931e1901d025ad27;p=pandora-kernel.git libata: check onlineness before using SPD in sata_down_spd_limit() sata_down_spd_limit() should check whether the link is online before using the SPD value to determine how to limit the link speed. Factor out onlineness test and test it from sata_down_spd_limit(). Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed