diff options
author | Ludovic Desroches <ludovic.desroches@atmel.com> | 2012-11-23 10:09:04 +0100 |
---|---|---|
committer | Wolfram Sang <w.sang@pengutronix.de> | 2012-11-24 20:27:30 +0100 |
commit | 60937b2cdbf948ddb84cbf5d728012519ff4b321 (patch) | |
tree | aac3797f2cd6c5a1bb3131dbf95a4732cd99db9d /drivers/pinctrl/pinctrl-nomadik.c | |
parent | 5f433819b3ee4d8603f834e1438462c4ad58b185 (diff) | |
download | linux-60937b2cdbf948ddb84cbf5d728012519ff4b321.tar.bz2 |
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>
Diffstat (limited to 'drivers/pinctrl/pinctrl-nomadik.c')
0 files changed, 0 insertions, 0 deletions