Skip to content
Commit e8f39e9f authored by David Engraf's avatar David Engraf Committed by Wolfram Sang
Browse files

i2c: at91: Read all available bytes at once



With FIFO enabled it is possible to read multiple bytes
at once in the interrupt handler as long as RXRDY is
set. This may also reduce the number of interrupts.

This patch polls RXRDY and reads all available bytes at
once.

Signed-off-by: default avatarDavid Engraf <david.engraf@sysgo.com>
Acked-by: default avatarLudovic Desroches <ludovic.desroches@microchip.com>
[wsa: reformatted comment]
Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
parent 562de4ff
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment