mmc: sdhci-pci: Do not set DMA mask in enable_dma()
authorAlexandre Courbot <acourbot@nvidia.com>
Mon, 7 Mar 2016 02:07:57 +0000 (11:07 +0900)
committerUlf Hansson <ulf.hansson@linaro.org>
Fri, 18 Mar 2016 08:12:25 +0000 (09:12 +0100)
commitbd9ff18bffcd1861ff0c7dc3fd06d0df2510cc42
tree84578b6f7b09498747d72593be660f689cbfeb33
parent741b48f4f39730fdf74bc5892fca2de2fe798b63
mmc: sdhci-pci: Do not set DMA mask in enable_dma()

DMA mask will already be set by sdhci_set_dma_mask(), which
is equivalent to the removed code since pci_set_dma_mask()
expands to its DMA-API counterpart.

There should also be no reason to set the DMA mask after probe.

Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-pci-core.c