From: Brian Niebuhr Date: Tue, 5 Oct 2010 06:08:41 +0000 (+0530) Subject: spi: davinci: handle DMA completion errors correctly X-Git-Tag: v2.6.38-rc1~454^2~6^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9b189fd7584a1d8c68334dd1bc47b363877b314e;p=pandora-kernel.git spi: davinci: handle DMA completion errors correctly Do not simply clean the DMA channel on a DMA completion error. Instead, use wcount and rcount members of davinci_spi to detecion non-completion of DMA and signal EIO to the application. Signed-off-by: Brian Niebuhr Tested-By: Michael Williamson Signed-off-by: Sekhar Nori --- Reading git-diff-tree failed