]> git.baikalelectronics.ru Git - kernel.git/commit
staging: mt7621-mmc: Always use linked DMA mode
authorChristian Lütke-Stetzkamp <christian@lkamp.de>
Sun, 29 Apr 2018 17:32:40 +0000 (19:32 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 7 May 2018 02:08:07 +0000 (19:08 -0700)
commitfb116742f9232e2d6527d3645dd139496ff27122
treeda7bdd96932d4aa471c312247659de5c63a7a52e
parent88af399b0253c2746657057763acd1b89b29f203
staging: mt7621-mmc: Always use linked DMA mode

Current code uses linked DMA mode only when there is more than one
entry in the scatterlist. But the overhead of the linked DMA is very
small, so the code is easier when only using linked DMA and this is
also the way, the upstream driver mtk-sd handles it.

Signed-off-by: Christian Lütke-Stetzkamp <christian@lkamp.de>
Reviewed-by: NeilBrown <neil@brown.name>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/mt7621-mmc/sd.c