On Mon, 11 Aug 2025 at 16:18, Sasha Levin sashal@kernel.org wrote:
This is a note to let you know that I've just added the patch titled
ARM: s3c/gpio: complete the conversion to new GPIO value setters
to the 6.16-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git%3Ba=su...
The filename of the patch is: arm-s3c-gpio-complete-the-conversion-to-new-gpio-val.patch and it can be found in the queue-6.16 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let stable@vger.kernel.org know about it.
This is not something we should backport. This is a refactoring targeting v6.17.
Bartosz
commit c09ce1148e4748b856b6d13a8b9fa568a1e687a2 Author: Bartosz Golaszewski bartosz.golaszewski@linaro.org Date: Wed Jul 30 09:14:43 2025 +0200
ARM: s3c/gpio: complete the conversion to new GPIO value setters [ Upstream commit 3dca3d51b933beb3f35a60472ed2110d1bd7046a ] Commit fb52f3226cab ("ARM: s3c/gpio: use new line value setter callbacks") correctly changed the assignment of the callback but missed the check one liner higher. Change it now too to using the recommended callback as the legacy one is going away soon. Fixes: fb52f3226cab ("ARM: s3c/gpio: use new line value setter callbacks") Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Sasha Levin <sashal@kernel.org>
diff --git a/arch/arm/mach-s3c/gpio-samsung.c b/arch/arm/mach-s3c/gpio-samsung.c index 206a492fbaf5..3ee4ad969cc2 100644 --- a/arch/arm/mach-s3c/gpio-samsung.c +++ b/arch/arm/mach-s3c/gpio-samsung.c @@ -516,7 +516,7 @@ static void __init samsung_gpiolib_add(struct samsung_gpio_chip *chip) gc->direction_input = samsung_gpiolib_2bit_input; if (!gc->direction_output) gc->direction_output = samsung_gpiolib_2bit_output;
if (!gc->set)
if (!gc->set_rv) gc->set_rv = samsung_gpiolib_set; if (!gc->get) gc->get = samsung_gpiolib_get;
linux-stable-mirror@lists.linaro.org