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

David Engraf david.engraf at sysgo.com
Sun Apr 29 23:11:05 PDT 2018


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 at sysgo.com>
> 
> 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!
> 




More information about the linux-arm-kernel mailing list