linux_old1/include/linux/mmc
Heiner Kallweit 5ef1ecf060 mmc: sdio: fix alignment issue in struct sdio_func
Certain 64-bit systems (e.g. Amlogic Meson GX) require buffers to be
used for DMA to be 8-byte-aligned. struct sdio_func has an embedded
small DMA buffer not meeting this requirement.
When testing switching to descriptor chain mode in meson-gx driver
SDIO is broken therefore. Fix this by allocating the small DMA buffer
separately as kmalloc ensures that the returned memory area is
properly aligned for every basic data type.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Tested-by: Helmut Klein <hgkr.klein@gmail.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
2017-04-18 19:18:07 +02:00
..
card.h mmc: Adding AUTO_BKOPS_EN bit set for Auto BKOPS support 2017-02-14 09:11:00 +01:00
core.h mmc: core: rename mmc_start_req() to *areq() 2017-02-13 13:20:58 +01:00
host.h mmc: core: Invent MMC_CAP_3_3V_DDR 2017-02-13 13:20:44 +01:00
mmc.h mmc: Adding AUTO_BKOPS_EN bit set for Auto BKOPS support 2017-02-14 09:11:00 +01:00
pm.h
sd.h
sdhci-pci-data.h mmc: sdhci-pci: Add support for drive strength selection for SPT 2015-06-01 09:07:14 +02:00
sdio.h
sdio_func.h mmc: sdio: fix alignment issue in struct sdio_func 2017-04-18 19:18:07 +02:00
sdio_ids.h Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2017-02-22 10:15:09 -08:00
sh_mmcif.h mmc: sh_mmcif: Remove unused clk_ctrl2_present from the platform data 2017-02-13 13:19:58 +01:00
slot-gpio.h mmc: core: First step in cleaning up public mmc header files 2017-02-13 13:20:19 +01:00