Skip to content
Commit f291683f 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 a78b4ca2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment