Re: [PATCH v2] i2c: at91: Read all available bytes at once

2018-04-29 Thread David Engraf
Am 28.04.2018 um 14:38 schrieb Wolfram Sang: On Thu, Apr 26, 2018 at 11:53:14AM +0200, David Engraf wrote: 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

Re: [PATCH v2] i2c: at91: Read all available bytes at once

2018-04-28 Thread Wolfram Sang
On Thu, Apr 26, 2018 at 11:53:14AM +0200, David Engraf wrote: > 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. >

Re: [PATCH v2] i2c: at91: Read all available bytes at once

2018-04-26 Thread Ludovic Desroches
On Thu, Apr 26, 2018 at 11:53:14AM +0200, David Engraf wrote: > 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. >

[PATCH v2] i2c: at91: Read all available bytes at once

2018-04-26 Thread David Engraf
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: David Engraf --- drivers/i2c/busses/i2c-at91.c | 12 +