]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
gpio: of: clear OF_POPULATED on hog nodes in remove path
authorBartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Mon, 9 Mar 2026 12:42:37 +0000 (13:42 +0100)
committerBartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Mon, 16 Mar 2026 08:51:05 +0000 (09:51 +0100)
commitbbee90e750262bfb406d66dc65c46d616d2b6673
tree0394628c061cb8d6c46f8108d61d720e900e670b
parentbf017304fce10933f18fafe140bf749fb9672058
gpio: of: clear OF_POPULATED on hog nodes in remove path

The previously set OF_POPULATED flag should be cleared on the hog nodes
when removing the chip.

Cc: stable@vger.kernel.org
Fixes: 63636d956c455 ("gpio: of: Add DT overlay support for GPIO hogs")
Acked-by: Linus Walleij <linusw@kernel.org>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://patch.msgid.link/20260309-gpio-hog-fwnode-v2-1-4e61f3dbf06a@oss.qualcomm.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
drivers/gpio/gpiolib-of.c