From be64beb40df808385f7883d2e6f01ff7c79eeae4 Mon Sep 17 00:00:00 2001 From: Suravee Suthikulpanit Date: Thu, 12 Jun 2014 12:40:24 -0500 Subject: 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 --- drivers/ata/ahci_xgene.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'drivers/ata') 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, -- cgit v1.2.2