Skip to content

Commit 72cbaa3

Browse files
Kefeng Wanghtejun
authored andcommitted
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>
1 parent e6dd42a commit 72cbaa3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/ata/ahci_platform.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ static int ahci_probe(struct platform_device *pdev)
5858
}
5959

6060
if (of_device_is_compatible(dev->of_node, "hisilicon,hisi-ahci"))
61-
hflags |= AHCI_HFLAG_NO_FBS;
61+
hflags |= AHCI_HFLAG_NO_FBS | AHCI_HFLAG_NO_NCQ;
6262

6363
rc = ahci_platform_init_host(pdev, hpriv, &ahci_port_info,
6464
hflags, 0, 0);

0 commit comments

Comments
 (0)