diff options
author | Martin Hicks <mort@bork.org> | 2015-02-19 15:05:47 -0500 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2015-03-02 12:08:43 -0500 |
commit | 29200f12a1167076346415e18eee9065cb77a859 (patch) | |
tree | 8c7bff62c471fdebb2d5761c9dc8a44d08e0a30a | |
parent | a38ecbbd0be025a6ecbbfd22d2575a5b46317117 (diff) |
sata-fsl: Apply link speed limits
The driver was ignoring limits requested by libata.force. The output
would look like:
fsl-sata ffe18000.sata: Sata FSL Platform/CSB Driver init
ata1: FORCE: PHY spd limit set to 1.5Gbps
ata1: SATA max UDMA/133 irq 74
ata1: Signature Update detected @ 0 msecs
ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 310)
Signed-off-by: Martin Hicks <mort@bork.org>
Signed-off-by: Tejun Heo <tj@kernel.org>
-rw-r--r-- | drivers/ata/sata_fsl.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/ata/sata_fsl.c b/drivers/ata/sata_fsl.c index f9054cd36a72..5389579c5120 100644 --- a/drivers/ata/sata_fsl.c +++ b/drivers/ata/sata_fsl.c @@ -869,6 +869,8 @@ try_offline_again: */ ata_msleep(ap, 1); + sata_set_spd(link); + /* * Now, bring the host controller online again, this can take time * as PHY reset and communication establishment, 1st D2H FIS and |