Files
linux-stable-mirror/drivers/mmc/host
Thomas Fourier 8a29726633 mmc: mvsdio: Fix dma_unmap_sg() nents value
commit 8ab2f1c356 upstream.

The dma_unmap_sg() functions should be called with the same nents as the
dma_map_sg(), not the value the map function returned.

Fixes: 236caa7cc3 ("mmc: SDIO driver for Marvell SoCs")
Signed-off-by: Thomas Fourier <fourier.thomas@gmail.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Cc: stable@vger.kernel.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-10-02 13:39:07 +02:00
..
2024-12-14 19:50:47 +01:00
2023-11-28 16:56:28 +00:00