Re: [PATCH] i2c: rcar: implement atomic transfers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> On 02/19/2021 1:01 PM Wolfram Sang <wsa@xxxxxxxxxxxxx> wrote:
> From a maintaining perspective, I think, though, we should have only one
> master_xfer() function and use 'atomic_xfer' in there to skip stuff etc.
> Otherwise fixes in one function might be forgotten in the other one. Or?

My guesstimate is that the amount of code required is about the same for both approaches, but having two separate implementations makes both of them a lot more readable.

CU
Uli



[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux