[PATCH 0/2] mmc: mmci: stm32: manage unaligned DMA req for SDIO

Yann Gautier posted 2 patches 4 years, 3 months ago
drivers/mmc/host/mmci_stm32_sdmmc.c | 86 ++++++++++++++++++++++-------
1 file changed, 66 insertions(+), 20 deletions(-)
[PATCH 0/2] mmc: mmci: stm32: manage unaligned DMA req for SDIO
Posted by Yann Gautier 4 years, 3 months ago
The first patch corrects an issue when parsing the sg list to check DMA
constraints.
The second patch manages those DMA alignment by copying from or to a
bounce buffer, the way it is done in meson-gx-mmc.

Yann Gautier (2):
  mmc: mmci: stm32: correctly check all elements of sg list
  mmc: mmci: stm32: use a buffer for unaligned DMA requests

 drivers/mmc/host/mmci_stm32_sdmmc.c | 86 ++++++++++++++++++++++-------
 1 file changed, 66 insertions(+), 20 deletions(-)

-- 
2.25.1