From: Suravee Suthikulpanit Date: Thu, 12 Jun 2014 17:40:24 +0000 (-0500) Subject: ahci/xgene: Remove logic to set 64-bit DMA mask X-Git-Tag: v3.17-rc1~146^2~21 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=be64beb40df808385f7883d2e6f01ff7c79eeae4;p=~emulex%2Finfiniband.git 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 Suggested-by: Bartlomiej Zolnierkiewicz Cc: Loc Ho Cc: Tuan Phan Cc: Suman Triphati Signed-off-by: Tejun Heo --- diff --git a/drivers/ata/ahci_xgene.c b/drivers/ata/ahci_xgene.c index 042a9bb45c8..a9fc2ae2e6e 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,