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 Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux