aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/mt7621-mmc
diff options
context:
space:
mode:
authorChristian Lütke-Stetzkamp <christian@lkamp.de>2018-04-18 17:27:43 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-04-23 15:37:55 +0200
commit8cfb4937af9b214e9855b10dd9bac291bca263b8 (patch)
tree674c1087f4491d7daaecabf82c13c07bd1fffb0d /drivers/staging/mt7621-mmc
parentstaging: mt7621-mmc: Refactor msdc_init_gpd_bd (diff)
downloadlinux-dev-8cfb4937af9b214e9855b10dd9bac291bca263b8.tar.xz
linux-dev-8cfb4937af9b214e9855b10dd9bac291bca263b8.zip
staging: mt7621-mmc: Change default transfer mode to DMA
The current default transfer is to use DMA or not depending on the size of the data. The upstream driver mtk-sd uses DMA all times, change the standard mode here to DMA for testing, if there are any performance problems with DMA for small data sizes. If not, the option for transfer mode should be removed in the future, Signed-off-by: Christian Lütke-Stetzkamp <christian@lkamp.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/mt7621-mmc')
-rw-r--r--drivers/staging/mt7621-mmc/dbg.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/staging/mt7621-mmc/dbg.c b/drivers/staging/mt7621-mmc/dbg.c
index 9a1809d74ea3..0d6e21557d8f 100644
--- a/drivers/staging/mt7621-mmc/dbg.c
+++ b/drivers/staging/mt7621-mmc/dbg.c
@@ -67,10 +67,10 @@ u32 dma_size[4] = {
};
enum msdc_mode drv_mode[4] = {
- MODE_SIZE_DEP, /* using DMA or not depend on the size */
- MODE_SIZE_DEP,
- MODE_SIZE_DEP,
- MODE_SIZE_DEP
+ MODE_DMA, /* using DMA always */
+ MODE_DMA,
+ MODE_DMA,
+ MODE_DMA
};
#if defined(MT6575_SD_DEBUG)