]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: jz4740: prepare next dma transfer in parallel with current transfer
authorApelete Seketeli <apelete@seketeli.net>
Mon, 21 Jul 2014 04:37:45 +0000 (06:37 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 9 Sep 2014 11:58:59 +0000 (13:58 +0200)
commit00a5c9bc05a24983e8f7c809d176ed5b0ccb5da3
treed36d7d78861e7890dd1a18f59f314c9ec719b726
parent0cfd86241da74e839f79b18f14464ad210b0608b
mmc: jz4740: prepare next dma transfer in parallel with current transfer

Make use of the MMC asynchronous request capability to prepare the
next DMA transfer request in parallel with the current transfer.
This is done by adding pre-request and post-request callbacks that are
used by the MMC framework during an active data transfer.

It should help reduce the impact of DMA preparation overhead on the SD
card performance.

Signed-off-by: Apelete Seketeli <apelete@seketeli.net>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/jz4740_mmc.c