Patch "ARM: s3c/gpio: complete the conversion to new GPIO value setters" has been added to the 6.16-stable tree
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 8 lines · Sasha Levin
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;a=summary
Quoted 7 lines
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 <[email protected]> know about it.
This is not something we should backport. This is a refactoring targeting v6.17.
Bartosz
Quoted 33 lines
commit
c09ce1148e4748b856b6d13a8b9fa568a1e687a2Author: Bartosz Golaszewski <[email protected]> Date: Wed Jul 30 09:14:43 2025 +0200ARM: 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 <[email protected]>Signed-off-by Arnd Bergmann <[email protected]>Signed-off-by Sasha Levin <[email protected]>arch/arm/mach-s3c/gpio-samsung.c +1
-1@@ -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;