summaryrefslogtreecommitdiffstats
path: root/drivers/ata/ahci_platform.c
diff options
context:
space:
mode:
authorKefeng Wang <kefeng.wang@linaro.org>2014-06-24 16:54:23 -0400
committerTejun Heo <tj@kernel.org>2014-06-24 16:54:23 -0400
commit72cbaa3d2f563d7b48c9f8aef47ec9aa3a31adf2 (patch)
tree0df85420e1dee27c3fb2eff8f5dcc61c323691c4 /drivers/ata/ahci_platform.c
parente6dd42a917e62d916c6e513dbf87a4dec8cf3a1c (diff)
downloadop-kernel-dev-72cbaa3d2f563d7b48c9f8aef47ec9aa3a31adf2.zip
op-kernel-dev-72cbaa3d2f563d7b48c9f8aef47ec9aa3a31adf2.tar.gz
ahci: disable ncq feature for hisilicon sata
NCQ feature is unsupported on hisilicon sata controller, so disable it. This version of IP is used by hip04 and hix5hd2 soc. tj: "|=" was replaced with "=" for no reason. Restored "|=". Signed-off-by: Kefeng Wang <kefeng.wang@linaro.org> Sigend-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'drivers/ata/ahci_platform.c')
-rw-r--r--drivers/ata/ahci_platform.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/ahci_platform.c b/drivers/ata/ahci_platform.c
index ebe505c..b10d81d 100644
--- a/drivers/ata/ahci_platform.c
+++ b/drivers/ata/ahci_platform.c
@@ -58,7 +58,7 @@ static int ahci_probe(struct platform_device *pdev)
}
if (of_device_is_compatible(dev->of_node, "hisilicon,hisi-ahci"))
- hflags |= AHCI_HFLAG_NO_FBS;
+ hflags |= AHCI_HFLAG_NO_FBS | AHCI_HFLAG_NO_NCQ;
rc = ahci_platform_init_host(pdev, hpriv, &ahci_port_info,
hflags, 0, 0);
OpenPOWER on IntegriCloud