mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
mmc: sdhci-esdhc: Add SDHCI_QUIRK_32BIT_DMA_ADDR
The eSDHC can only DMA from 32-bit-aligned addresses. This fixes the following test cases of mmc_test: 11: Badly aligned write 12: Badly aligned read 13: Badly aligned multi-block write 14: Badly aligned multi-block read Signed-off-by: Benoît Thébaudeau <[email protected]> Acked-by: Adrian Hunter <[email protected]> Reviewed-by: Fabio Estevam <[email protected]> Signed-off-by: Ulf Hansson <[email protected]>
This commit is contained in:
parent
d04f8d5b94
commit
cbb4509374
1 changed files with 1 additions and 0 deletions
|
|
@ -19,6 +19,7 @@
|
|||
*/
|
||||
|
||||
#define ESDHC_DEFAULT_QUIRKS (SDHCI_QUIRK_FORCE_BLK_SZ_2048 | \
|
||||
SDHCI_QUIRK_32BIT_DMA_ADDR | \
|
||||
SDHCI_QUIRK_NO_BUSY_IRQ | \
|
||||
SDHCI_QUIRK_DATA_TIMEOUT_USES_SDCLK | \
|
||||
SDHCI_QUIRK_PIO_NEEDS_DELAY | \
|
||||
|
|
|
|||
Loading…
Reference in a new issue