commit | eae309836509496c981ceaebdef57041de86ecd4 | [log] [tgz] |
---|---|---|
author | Teppei Kamijou <teppei.kamijou.yb@renesas.com> | Wed Dec 12 15:38:12 2012 +0100 |
committer | Chris Ball <cjb@laptop.org> | Mon Feb 11 13:28:21 2013 -0500 |
tree | 1c9422ea98f6f831d85665abd79226b4af257f29 | |
parent | 5df460b15e10ffcf2c9a05d0c55b309568d330ea [diff] |
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: Teppei Kamijou <teppei.kamijou.yb@renesas.com> Signed-off-by: Shinya Kuribayashi <shinya.kuribayashi.px@renesas.com> [g.liakhovetski@gmx.de: forward-port, add dma_unmap_sg() in error cases] Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Chris Ball <cjb@laptop.org>