From: Ilkka Koskinen Date: Tue, 19 Oct 2010 14:07:31 +0000 (+0300) Subject: spi/omap2_mcspi: Verify TX reg is empty after TX only xfer with DMA X-Git-Tag: v2.6.37-rc1~187^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2764c500be0c1f057349ee6c81557239de060f87;p=pandora-kernel.git spi/omap2_mcspi: Verify TX reg is empty after TX only xfer with DMA In case of TX only with DMA, the driver assumes that the data has been transferred once DMA callback in invoked. However, SPI's shift register may still contain data. Thus, the driver is supposed to verify that the register is empty and the end of the SPI transfer has been reached. Signed-off-by: Ilkka Koskinen Tested-by: Tuomas Katila Acked-by: Tony Lindgren Signed-off-by: Grant Likely --- Reading git-diff-tree failed