diff options
author | Tejun Heo <[email protected]> | 2009-01-29 20:31:31 +0900 |
---|---|---|
committer | Jeff Garzik <[email protected]> | 2009-02-02 23:03:08 -0500 |
commit | 9913ff8abf1c70a8d52560dc931e1901d025ad27 (patch) | |
tree | d91ed8d73e9cb554d071e1d1449d5d0ef883e1a3 /lib/string_helpers.c | |
parent | 678afac678061ee41bc3007885003c125912a8e2 (diff) |
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 <[email protected]>
Signed-off-by: Jeff Garzik <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions