]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ahci/xgene: Remove logic to set 64-bit DMA mask
authorSuravee Suthikulpanit <Suravee.Suthikulpanit@amd.com>
Thu, 12 Jun 2014 17:40:24 +0000 (12:40 -0500)
committerTejun Heo <tj@kernel.org>
Tue, 17 Jun 2014 19:02:57 +0000 (15:02 -0400)
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>
drivers/ata/ahci_xgene.c

index 042a9bb45c86d40f4d06511b673ddfc83bea55e2..a9fc2ae2e6e2eaf740f8a92e56d8969938d6ff07 100644 (file)
@@ -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,