Re: [PATCH] pinctrl: lpass-lpi: implement .get_direction() for the GPIO driver

From: Bartosz Golaszewski

Date: Mon Jan 26 2026 - 10:54:56 EST


On Mon, Jan 26, 2026 at 3:41 PM Konrad Dybcio
<konrad.dybcio@xxxxxxxxxxxxxxxx> wrote:
>
> On 1/26/26 2:56 PM, Bartosz Golaszewski wrote:
> > 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@xxxxxxxxxx>
> > Cc: stable@xxxxxxxxxxxxxxx
> > Fixes: 6e261d1090d6 ("pinctrl: qcom: Add sm8250 lpass lpi pinctrl driver")
> > Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxxxxxxxx>
> > ---
>
> Reviewed-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxxxxxxxx>
> Tested-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxxxxxxxx> # X1E CRD
>

Linus,

Just a heads-up: this is v6.19-rc8 material, as it got uncovered with
GPIO changes in rc6.

Thanks,
Bartosz