commit | 60937b2cdbf948ddb84cbf5d728012519ff4b321 | [log] [tgz] |
---|---|---|
author | Ludovic Desroches <ludovic.desroches@atmel.com> | Fri Nov 23 10:09:04 2012 +0100 |
committer | Wolfram Sang <w.sang@pengutronix.de> | Sat Nov 24 20:27:30 2012 +0100 |
tree | aac3797f2cd6c5a1bb3131dbf95a4732cd99db9d | |
parent | 5f433819b3ee4d8603f834e1438462c4ad58b185 [diff] |
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 <ludovic.desroches@atmel.com> Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>