Thread (16 messages) 16 messages, 5 authors, 2024-09-10

Re: [PATCH v4 3/3] tty: serial: samsung: Fix serial rx on Apple A7-A9

From: Andi Shyti <andi.shyti@kernel.org>
Date: 2024-09-10 12:49:33
Also in: asahi, linux-samsung-soc, linux-serial, lkml

On Tue, Sep 10, 2024 at 02:41:31PM GMT, Andi Shyti wrote:
quoted
+#define APPLE_S5L_UTRSTAT_RXTO_LEGACY	BIT(3)
 #define APPLE_S5L_UTRSTAT_RXTHRESH	BIT(4)
 #define APPLE_S5L_UTRSTAT_TXTHRESH	BIT(5)
 #define APPLE_S5L_UTRSTAT_RXTO		BIT(9)
-#define APPLE_S5L_UTRSTAT_ALL_FLAGS	(0x3f0)
+#define APPLE_S5L_UTRSTAT_ALL_FLAGS	(0x3f8)
As you are here, you could use genmask

GENMASK(0xff, 3)
GENMASK(..., 2), of course :-)

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