aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata
diff options
context:
space:
mode:
authorSuravee Suthikulpanit <Suravee.Suthikulpanit@amd.com>2014-06-12 13:40:24 -0400
committerTejun Heo <tj@kernel.org>2014-06-17 15:02:57 -0400
commitbe64beb40df808385f7883d2e6f01ff7c79eeae4 (patch)
tree53b0420b92fb7639930624747e1a963340634b6e /drivers/ata
parentcc7a9e27562cd78a1dc885504086fab24addce40 (diff)
ahci/xgene: Remove logic to set 64-bit DMA mask
Instead of doing the check here, this should be handled in the common AHCI platform code. Signed-off-by: Suravee Suthikulpanit <Suravee.Suthikulpanit@amd.com> Suggested-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> Cc: Loc Ho <lho@apm.com> Cc: Tuan Phan <tphan@apm.com> Cc: Suman Triphati <stripathi@apm.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'drivers/ata')
-rw-r--r--drivers/ata/ahci_xgene.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/ata/ahci_xgene.c b/drivers/ata/ahci_xgene.c
index 042a9bb45c86..a9fc2ae2e6e2 100644
--- a/drivers/ata/ahci_xgene.c
+++ b/drivers/ata/ahci_xgene.c
@@ -440,16 +440,6 @@ static int xgene_ahci_probe(struct platform_device *pdev)
440 /* Configure the host controller */ 440 /* Configure the host controller */
441 xgene_ahci_hw_init(hpriv); 441 xgene_ahci_hw_init(hpriv);
442 442
443 /*
444 * Setup DMA mask. This is preliminary until the DMA range is sorted
445 * out.
446 */
447 rc = dma_set_mask_and_coherent(dev, DMA_BIT_MASK(64));
448 if (rc) {
449 dev_err(dev, "Unable to set dma mask\n");
450 goto disable_resources;
451 }
452
453 hflags = AHCI_HFLAG_NO_PMP | AHCI_HFLAG_YES_NCQ; 443 hflags = AHCI_HFLAG_NO_PMP | AHCI_HFLAG_YES_NCQ;
454 444
455 rc = ahci_platform_init_host(pdev, hpriv, &xgene_ahci_port_info, 445 rc = ahci_platform_init_host(pdev, hpriv, &xgene_ahci_port_info,