mmc: alcor: enable DMA for writes
authorDaniel Drake <drake@endlessm.com>
Tue, 26 Mar 2019 07:04:15 +0000 (15:04 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 15 Apr 2019 09:55:54 +0000 (11:55 +0200)
commite5a34b0c1071e6b6b6cfca4c6887c39cd403dd77
treeed4df9ab8f480a02e47c68aca968e557c0169df0
parent7bda9482e7ed4d27d83c1f9cb5cbe3b34ddac3e8
mmc: alcor: enable DMA for writes

Enable the DMA codepath for writes as well as reads.
This improves write speed from 1mb/sec to 2mb/sec (tested with dd).

The original ampe_stor vendor driver also uses DMA for writes.

Signed-off-by: Daniel Drake <drake@endlessm.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/alcor.c