mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-13 16:14:26 +08:00
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>
This commit is contained in:
parent
8f2395586c
commit
8cfb4937af
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user