]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit11023d464f8ab48f4e192142f4186ea4c9954412
treec0d9b07bcd1f069aea5567ca2c23dcc73829c7f3
parent575520375fa98d7e83a45713b33e0bdb27744fef
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 7d59a6ffa40287af9dc6816e8897397875c68d84 ("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