android_kernel_motorola_sm6225/drivers/mmc
Santosh Shilimkar 8e0cb8a1f6 ARM: 7797/1: mmc: Use dma_max_pfn(dev) helper for bounce_limit calculations
DMA bounce limit is the maximum direct DMA'able memory beyond which
bounce buffers has to be used to perform dma operations. MMC queue layr
relies on dma_mask but its calculation is based on max_*pfn which
don't have uniform meaning across architectures. So make use of
dma_max_pfn() which is expected to return the DMAable maximum pfn
value across architectures.

Cc: Chris Ball <cjb@laptop.org>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2013-10-31 14:49:27 +00:00
..
card ARM: 7797/1: mmc: Use dma_max_pfn(dev) helper for bounce_limit calculations 2013-10-31 14:49:27 +00:00
core MMC highlights for 3.12: 2013-09-10 13:33:09 -07:00
host DMA-API: mmc: sdhci-acpi: use dma_coerce_mask_and_coherent() 2013-10-31 14:48:54 +00:00
Kconfig mmc: explicitly mention SDIO support in Kconfig 2008-10-12 11:04:36 +02:00
Makefile mmc: sdhci-pci: add platform data 2012-01-11 23:58:47 -05:00