From: Guennadi Liakhovetski Date: Wed, 12 Dec 2012 14:38:16 +0000 (+0100) Subject: mmc: sh_mmcif: reset DMA completion immediately before starting DMA X-Git-Tag: v3.9-rc1~78^2~73 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=90f1cb438e33bb88036649665c2165155561b54f;p=pandora-kernel.git 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 Signed-off-by: Chris Ball --- Reading git-diff-tree failed