summaryrefslogtreecommitdiff
path: root/drivers/ata/ahci_imx.c
diff options
context:
space:
mode:
authorRichard Zhu <Richard.Zhu@freescale.com>2015-10-09 14:43:24 +0800
committerJason Liu <jason.hui.liu@nxp.com>2019-02-12 10:24:06 +0800
commit5ff1c87b3a3580bbcde3fc2d635ac2644f4d2750 (patch)
tree226cff9c5b4f1af7cc30325b5bad49b2ab218997 /drivers/ata/ahci_imx.c
parent042bf5fb523b8b348294dac9ccdc6d88b6dfdad5 (diff)
MLK-11681-2 ata: imx: enable sata on imx6qp
Since the version of the imx6qp's ahci controller is same to the version of imx6q ahci controller. So, this work-around should be applied to imx6qp ahci too. Signed-off-by: Richard Zhu <Richard.Zhu@freescale.com> (cherry picked from commit 31a7eab5be9843263535306dbaa08592b66714e5)
Diffstat (limited to 'drivers/ata/ahci_imx.c')
-rw-r--r--drivers/ata/ahci_imx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/ahci_imx.c b/drivers/ata/ahci_imx.c
index a93c8f8c5c94..11f76fcc0f40 100644
--- a/drivers/ata/ahci_imx.c
+++ b/drivers/ata/ahci_imx.c
@@ -845,7 +845,7 @@ static int imx_ahci_probe(struct platform_device *pdev)
* which is present on mx6q, and not on mx53,
* we should use sg_tablesize = 1 for reliable operation
*/
- if (imxpriv->type == AHCI_IMX6Q) {
+ if (imxpriv->type == AHCI_IMX6Q || imxpriv->type == AHCI_IMX6QP) {
dma_addr_t dma;
ahci_platform_sht.sg_tablesize = 1;