]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
gpio: max77620: Implement .get_direction() callback
authorDiogo Ivo <diogo.ivo@tecnico.ulisboa.pt>
Tue, 27 Jan 2026 18:52:42 +0000 (18:52 +0000)
committerBartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Wed, 28 Jan 2026 09:07:23 +0000 (10:07 +0100)
commit4c4ff6e38768f2431ed153f110f2d1fcce848af8
tree9a324e8af0d9e74a8312798d748b4d81536652c0
parent274ea0f1687a849ded4f92d10e4c0e77f37740c9
gpio: max77620: Implement .get_direction() callback

Add support for reporting the current GPIO line direction by implementing
the .get_direction() callback for the MAX77620 GPIO controller.

Signed-off-by: Diogo Ivo <diogo.ivo@tecnico.ulisboa.pt>
Reviewed-by: Linus Walleij <linusw@kernel.org>
Link: https://patch.msgid.link/20260127-smaug-spi_flash-v1-1-5fd334415118@tecnico.ulisboa.pt
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
drivers/gpio/gpio-max77620.c