diff options
author | 2007-10-31 10:17:06 +0900 | |
---|---|---|
committer | 2007-11-03 08:47:27 -0400 | |
commit | db64bcf387aae6c7afad122a529d7d0513d3c5db (patch) | |
tree | 62fcd54c4f1d1c03d0360e37dc7f198a8ab8ae33 /lib | |
parent | libata: consider errors not associated with commands for speed down (diff) | |
download | wireguard-linux-db64bcf387aae6c7afad122a529d7d0513d3c5db.tar.xz wireguard-linux-db64bcf387aae6c7afad122a529d7d0513d3c5db.zip |
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 <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions