Skip to content

Commit 60937b2

Browse files
ldesrochesWolfram Sang
authored andcommitted
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>
1 parent 5f43381 commit 60937b2

File tree

1 file changed

+298
-8
lines changed

1 file changed

+298
-8
lines changed

0 commit comments

Comments
 (0)