mmc: sdhci-acpi: Add 64-bit DMA support
authorAdrian Hunter <adrian.hunter@intel.com>
Tue, 4 Nov 2014 10:42:47 +0000 (12:42 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 10 Nov 2014 11:40:53 +0000 (12:40 +0100)
commit4f64f84348e029c442b9caa37944754e6513cbf1
treec0d9b07bcd1f069aea5567ca2c23dcc73829c7f3
parente57a5f61eae7e145aeeda18ccb22576822f534bf
mmc: sdhci-acpi: Add 64-bit DMA support

Set the DMA mask during the first call to ->enable_dma() to
make use of the SDHCI_USE_64_BIT_DMA flag.

This patch is dependent on
commit 8a2f38ddfeb526c30b3ec209468172a30a38d996 ("ACPI / platform: provide default DMA mask")
which provides the dev->dma_mask pointer without
which dma_set_mask_and_coherent() will always fail.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-acpi.c