Commit 72cbaa3d authored by Kefeng Wang's avatar Kefeng Wang Committed by Tejun Heo

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: default avatarKefeng Wang <kefeng.wang@linaro.org>
Sigend-off-by: default avatarTejun Heo <tj@kernel.org>
parent e6dd42a9
...@@ -58,7 +58,7 @@ static int ahci_probe(struct platform_device *pdev) ...@@ -58,7 +58,7 @@ static int ahci_probe(struct platform_device *pdev)
} }
if (of_device_is_compatible(dev->of_node, "hisilicon,hisi-ahci")) 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, rc = ahci_platform_init_host(pdev, hpriv, &ahci_port_info,
hflags, 0, 0); hflags, 0, 0);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment