]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
pinctrl: lpass-lpi: implement .get_direction() for the GPIO driver
authorBartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Mon, 26 Jan 2026 13:56:27 +0000 (14:56 +0100)
committerLinus Walleij <linusw@kernel.org>
Tue, 27 Jan 2026 09:06:27 +0000 (10:06 +0100)
commit4f0d22ec60cee420125f4055af76caa0f373a3fe
tree0356deea4751efead17599ccdf82148664cc7909
parent304c3ebcaff36560d76e3030ba0839e629635f47
pinctrl: lpass-lpi: implement .get_direction() for the GPIO driver

GPIO controller driver should typically implement the .get_direction()
callback as GPIOLIB internals may try to use it to determine the state
of a pin. Add it for the LPASS LPI driver.

Reported-by: Abel Vesa <abelvesa@kernel.org>
Cc: stable@vger.kernel.org
Fixes: 6e261d1090d6 ("pinctrl: qcom: Add sm8250 lpass lpi pinctrl driver")
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Tested-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com> # X1E CRD
Tested-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
Signed-off-by: Linus Walleij <linusw@kernel.org>
drivers/pinctrl/qcom/pinctrl-lpass-lpi.c