summaryrefslogtreecommitdiffstats
path: root/drivers/ata/ahci_brcmstb.c
diff options
context:
space:
mode:
authorDanesh Petigara <dpetigara@broadcom.com>2016-01-07 16:03:33 -0800
committerTejun Heo <tj@kernel.org>2016-01-08 11:50:14 -0500
commite39b2bb3b72b999a04e8d295882be3255aca5ade (patch)
tree03734de006c786e574b97ab5ed6178078ae884c0 /drivers/ata/ahci_brcmstb.c
parent6ca92dd7aff899777a3081c5948409f4bdef7d38 (diff)
downloadlinux-stable-e39b2bb3b72b999a04e8d295882be3255aca5ade.tar.gz
linux-stable-e39b2bb3b72b999a04e8d295882be3255aca5ade.tar.bz2
linux-stable-e39b2bb3b72b999a04e8d295882be3255aca5ade.zip
libata: skip debounce delay on link resume
The link resume logic uses a 200msec delay while debouncing the SControl register. The rationale behind that delay is to accommodate some PHYs that behave badly if their SStatus/ SControl registers are pounded immediately on resume. The Broadcom STB SATA PHY does not seem to have this issue. This patch introduces a new link flag that allows platforms to skip the debounce delay if it isn't needed. Signed-off-by: Danesh Petigara <dpetigara@broadcom.com> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'drivers/ata/ahci_brcmstb.c')
-rw-r--r--drivers/ata/ahci_brcmstb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/ata/ahci_brcmstb.c b/drivers/ata/ahci_brcmstb.c
index f61cbe30786f..b36cae2fd04b 100644
--- a/drivers/ata/ahci_brcmstb.c
+++ b/drivers/ata/ahci_brcmstb.c
@@ -85,6 +85,7 @@ struct brcm_ahci_priv {
static const struct ata_port_info ahci_brcm_port_info = {
.flags = AHCI_FLAG_COMMON | ATA_FLAG_NO_DIPM,
+ .link_flags = ATA_LFLAG_NO_DB_DELAY,
.pio_mask = ATA_PIO4,
.udma_mask = ATA_UDMA6,
.port_ops = &ahci_platform_ops,