Re: [PATCH] gpiolib: read descriptor flags once in gpiolib_dbg_show()
From: Bartosz Golaszewski
Date: Mon Feb 24 2025 - 04:07:19 EST
From: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>
On Sat, 15 Feb 2025 11:08:47 +0100, Bartosz Golaszewski wrote:
> For consistency with most other code that can access requested
> descriptors: read the flags once atomically and then test individual
> bits from the helper variable. This avoids any potential discrepancies
> should flags change during the debug print.
>
>
Applied, thanks!
[1/1] gpiolib: read descriptor flags once in gpiolib_dbg_show()
commit: 11067f50458a5bb3b72f83c508e03f321e0c0c34
Best regards,
--
Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>