[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <esj26nonbriko4o2qqut6bsril4x5rwbwmw4qjksrnrtj2cbhl@awjqecif24m2>
Date: Tue, 10 Sep 2024 14:41:27 +0200
From: Andi Shyti <andi.shyti@...nel.org>
To: Nick Chan <towinchenmi@...il.com>
Cc: Krzysztof Kozlowski <krzk@...nel.org>,
Alim Akhtar <alim.akhtar@...sung.com>, Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Jiri Slaby <jirislaby@...nel.org>, linux-arm-kernel@...ts.infradead.org,
linux-samsung-soc@...r.kernel.org, linux-kernel@...r.kernel.org, linux-serial@...r.kernel.org,
asahi@...ts.linux.dev
Subject: Re: [PATCH v4 3/3] tty: serial: samsung: Fix serial rx on Apple A7-A9
Hi Nick,
> +#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)
Andi
Powered by blists - more mailing lists