commit | 1fcfebfe49f0fe3c3311decdcb3ad411d48feb59 | [log] [tgz] |
---|---|---|
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | Wed Dec 12 15:38:16 2012 +0100 |
committer | Chris Ball <cjb@laptop.org> | Mon Jan 28 06:51:33 2013 -0500 |
tree | c8d26c2d5e1be1cce8d3ca0c4c5d6a5854b48040 | |
parent | 33e69c7b4821818fb758c5437a7bc50d06f37dde [diff] |
mmc: sh-mmcif: reset DMA completion immediately before starting DMA DMA completion can be signalled from the DMA callback and from the error handler. If both are called, the completion struct can enter an inconsistent state. To prevent this move completion initialisation immediately before activating DMA. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Chris Ball <cjb@laptop.org>