]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
gpio: twl6040: set line value in .direction_out()
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Mon, 7 Jul 2025 07:50:22 +0000 (09:50 +0200)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Sun, 13 Jul 2025 08:45:04 +0000 (10:45 +0200)
commit79880eba2c0feed895e6d2aa8f7e5489d113d653
tree8939173e2e2b96e09a1b3802414cd26bcdb65254
parent77ba4640cc1564f29b280040b312688b79039c4c
gpio: twl6040: set line value in .direction_out()

It's ok for a GPIO controller to be output-only but the .direction_out()
callback must also set the requested line value.

Link: https://lore.kernel.org/r/20250707-gpiochip-set-rv-gpio-round4-v1-9-35668aaaf6d2@linaro.org
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
drivers/gpio/gpio-twl6040.c