From: Brian Niebuhr Date: Tue, 5 Oct 2010 10:13:08 +0000 (+0530) Subject: spi: davinci: remove usage of additional completion variables for DMA X-Git-Tag: v2.6.38-rc1~454^2~6^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6dbd29b27bd2627ba0025a6cff14381e69512cdf;p=pandora-kernel.git spi: davinci: remove usage of additional completion variables for DMA The DMA code does not use the existing completion variable 'done' which is being used for interrupt mode transfers. Instead it uses two different completion variables specific to DMA mode transfers. Eliminate the usage of new completion variables for DMA mode and use the existing completion variable. [nsekhar@ti.com: To make this process easy, eliminate the two different DMA completion callback functions for tx and rx and use a single callback function instead] Signed-off-by: Brian Niebuhr Tested-By: Michael Williamson Signed-off-by: Sekhar Nori --- Reading git-diff-tree failed