Skip to content
Snippets Groups Projects
Commit eae30983 authored by Teppei Kamijou's avatar Teppei Kamijou Committed by Chris Ball
Browse files

mmc: sh_mmcif: Terminate DMA transactions when detecting timeout or error


If a DMA transaction fails, terminate all outstanding DMA transfers and
unmap buffers.

Signed-off-by: default avatarTeppei Kamijou <teppei.kamijou.yb@renesas.com>
Signed-off-by: default avatarShinya Kuribayashi <shinya.kuribayashi.px@renesas.com>
[g.liakhovetski@gmx.de: forward-port, add dma_unmap_sg() in error cases]
Signed-off-by: default avatarGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: default avatarChris Ball <cjb@laptop.org>
parent 5df460b1
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment