Skip to content

Commit

Permalink
ahci: disable ncq feature for hisilicon sata
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Kefeng Wang authored and htejun committed Jun 24, 2014
1 parent e6dd42a commit 72cbaa3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/ata/ahci_platform.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 72cbaa3

Please sign in to comment.