mirror of
https://github.com/torvalds/linux.git
synced 2026-07-28 10:09:10 +02:00
mmc: dw_mmc: exynos: increase DMA threshold value for exynos7870
Exynos 7870 compatible controllers, such as SDIO ones are not able to perform DMA transfers for small sizes of data (~16 to ~512 bytes), resulting in cache issues in subsequent transfers. Increase the DMA transfer threshold to 512 to allow the shorter transfers to take place, bypassing DMA. Signed-off-by: Kaustabh Chakraborty <kauschluss@disroot.org> Reviewed-by: Shawn Lin <shawn.lin@rock-chips.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
This commit is contained in:
parent
4bac6b89e3
commit
65c132fa8c
|
|
@ -141,6 +141,7 @@ static int dw_mci_exynos_priv_init(struct dw_mci *host)
|
|||
priv->ctrl_type == DW_MCI_TYPE_EXYNOS7870_SMU) {
|
||||
/* Quirk needed for certain Exynos SoCs */
|
||||
host->quirks |= DW_MMC_QUIRK_FIFO64_32;
|
||||
host->dma_threshold = 512;
|
||||
}
|
||||
|
||||
if (priv->ctrl_type == DW_MCI_TYPE_ARTPEC8) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user