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

From: David Engraf
Date: Mon Apr 30 2018 - 02:17:50 EST


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 reads all available bytes at
once.

Signed-off-by: David Engraf <david.engraf@xxxxxxxxx>

checkpatch said twice:

WARNING: line over 80 characters

While I am not super-strict with this limit, it makes sense here IMO.
The comment stays readable, and we don't even lose a line.

Sorry for that.

Fixed it this time for you.

Thanks
- David

Applied to for-next, thanks!