diff options
author | Lior Amsalem <[email protected]> | 2014-01-14 20:09:57 +0100 |
---|---|---|
committer | Tejun Heo <[email protected]> | 2014-01-15 07:44:02 -0500 |
commit | 9013d64e661fc2a37a1742670202171c27fef4b5 (patch) | |
tree | e58a512bbc7d8bd815bef96321d2cfc6e24464e9 /tools/perf/util/trace-event-scripting.c | |
parent | b1f5c73bd5a4752efb7d7af019034044b08aafe9 (diff) |
ata: sata_mv: fix disk hotplug for Armada 370/XP SoCs
On Armada 370/XP SoCs, once a disk is removed from a SATA port, then the
re-plug events are not detected by the sata_mv driver. This patch fixes
the issue by updating the PHY speed in the LP_PHY_CTL register (0x58)
according to the SControl speed.
Note that this fix is only applied if the compatible string
"marvell,armada-370-sata" is found in the SATA DT node.
Fixes: 9ae6f740b49f ("arm: mach-mvebu: add support for Armada 370 and Armada XP with DT")
Signed-off-by: Lior Amsalem <[email protected]>
Signed-off-by: Nadav Haklai <[email protected]>
Signed-off-by: Simon Guinot <[email protected]>
Cc: Thomas Petazzoni <[email protected]>
Cc: Jason Cooper <[email protected]>
Cc: Andrew Lunn <[email protected]>
Cc: Gregory Clement <[email protected]>
Cc: Sebastian Hesselbarth <[email protected]>
Cc: [email protected] # v3.6+
Acked-by: Jason Cooper <[email protected]>
Signed-off-by: Tejun Heo <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions