From: Ludovic Desroches Date: Fri, 23 Nov 2012 09:09:04 +0000 (+0100) Subject: i2c: at91: add dma support X-Git-Tag: v3.8-rc1~54^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=60937b2cdbf948ddb84cbf5d728012519ff4b321;p=pandora-kernel.git i2c: at91: add dma support Add dma support for Atmel TWI which is available on sam9x5 and later. When using dma for reception, you have to read only n-2 bytes. The last two bytes are read manually. Don't doing this should cause to send the STOP command too late and then to get extra data in the receive register. Signed-off-by: Ludovic Desroches Signed-off-by: Wolfram Sang --- Reading git-diff-tree failed