summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSuravee Suthikulpanit <Suravee.Suthikulpanit@amd.com>2014-06-12 12:40:24 -0500
committerTejun Heo <tj@kernel.org>2014-06-17 15:02:57 -0400
commitbe64beb40df808385f7883d2e6f01ff7c79eeae4 (patch)
tree53b0420b92fb7639930624747e1a963340634b6e
parentcc7a9e27562cd78a1dc885504086fab24addce40 (diff)
downloadtalos-op-linux-be64beb40df808385f7883d2e6f01ff7c79eeae4.tar.gz
talos-op-linux-be64beb40df808385f7883d2e6f01ff7c79eeae4.zip
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>
-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)
/* Configure the host controller */
xgene_ahci_hw_init(hpriv);
- /*
- * Setup DMA mask. This is preliminary until the DMA range is sorted
- * out.
- */
- rc = dma_set_mask_and_coherent(dev, DMA_BIT_MASK(64));
- if (rc) {
- dev_err(dev, "Unable to set dma mask\n");
- goto disable_resources;
- }
-
hflags = AHCI_HFLAG_NO_PMP | AHCI_HFLAG_YES_NCQ;
rc = ahci_platform_init_host(pdev, hpriv, &xgene_ahci_port_info,
OpenPOWER on IntegriCloud