Thread (12 messages) read the whole thread 12 messages, 6 authors, 2025-03-30

Re: [PATCH 1/4] i2c: pasemi: Add registers bits and switch to BIT()

From: Sven Peter <hidden>
Date: 2025-03-30 08:51:49
Also in: asahi, linux-arm-kernel, linux-i2c, lkml

On Sat, Mar 22, 2025, at 14:23, Andy Shevchenko wrote:
Thu, Mar 20, 2025 at 01:23:25AM +0100, Andi Shyti kirjoitti:
quoted
Hi Sven,

On Sat, Feb 22, 2025 at 01:38:33PM +0000, Sven Peter via B4 Relay wrote:
quoted
From: Sven Peter <redacted>

Add the missing register bits to the defines and also switch
those to use the BIT macro which is much more readable than
using hardcoded masks

Co-developed-by: Hector Martin <redacted>
Signed-off-by: Hector Martin <redacted>
Signed-off-by: Sven Peter <redacted>
Just this patch merged to i2c/i2c-host.
This needs an update as well. The proper header for BIT() et al. is bits.h.
bitfield.h is for FIELD_*() et al.
Ugh, good catch. Since this commit is already on the way upstream I'll send a fix
(and another one to sort the headers alphabetically while I'm at it anyway).


Thanks,


Sven
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help