exynos-linux-stable/include/linux/mmc
Heiner Kallweit 727a153435 mmc: sdio: fix alignment issue in struct sdio_func
[ Upstream commit 5ef1ecf060f28ecef313b5723f1fd39bf5a35f56 ]

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>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-10-08 10:26:08 +02:00
..
boot.h
card.h mmc: sd: Export SD Status via “ssr” device attribute 2016-09-26 21:31:09 +02:00
core.h mmc: add define for R1 response without CRC 2016-09-26 21:31:31 +02:00
dw_mmc.h mmc: dw_mmc: add reset support to dwmmc host controller 2016-09-26 21:31:19 +02:00
host.h mmc: core: Add support for sending commands during data transfer 2016-09-26 21:31:28 +02:00
mmc.h mmc: core: implement enhanced strobe support 2016-07-25 10:34:05 +02: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-10-08 10:26:08 +02:00
sdio_ids.h brcmfmac: add support for bcm4339 chip with modalias sdio:c00v02D0d4339 2016-09-09 12:12:14 +03:00
sh_mmcif.h mmc: sh_mmcif: revision-specific CLK_CTRL2 handling 2013-08-25 00:10:18 -04:00
slot-gpio.h mmc: slot-gpio: Allow host driver to provide isr for card-detect interrupts 2015-01-19 09:56:29 +01:00