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)
commitbb2f45927f8e0d1fc0633f65cc1f17a40c80bf24
treed36d7d78861e7890dd1a18f59f314c9ec719b726
parent7ca27a6f80a4042666a28977ff8ee3aa527c6cd4
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