Skip to content

Commit 29200f1

Browse files
mohickshtejun
authored andcommitted
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>
1 parent a38ecbb commit 29200f1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/ata/sata_fsl.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -869,6 +869,8 @@ static int sata_fsl_hardreset(struct ata_link *link, unsigned int *class,
869869
*/
870870
ata_msleep(ap, 1);
871871

872+
sata_set_spd(link);
873+
872874
/*
873875
* Now, bring the host controller online again, this can take time
874876
* as PHY reset and communication establishment, 1st D2H FIS and

0 commit comments

Comments
 (0)