Thread (12 messages) 12 messages, 3 authors, 2023-05-08

Re: [PATCH v3 1/3] Input: ads7846 - Convert to use software nodes

From: Linus Walleij <hidden>
Date: 2023-05-08 21:31:25
Also in: dri-devel, linux-input, linux-mips, linux-mmc, linux-omap, linux-spi, lkml

On Mon, May 8, 2023 at 11:28 PM Dmitry Torokhov
[off-list ref] wrote:
On Mon, May 08, 2023 at 11:23:44PM +0200, Linus Walleij wrote:
quoted
quoted
This needs to be

        return !gpiod_get_value_raw(ts->gpio_pendown);
There is no such function. The gpio descriptor runpath simply assumes that
device trees can be trusted.
Sorry, this was supposed to be gpiod_get_raw_value():

https://elixir.bootlin.com/linux/latest/source/drivers/gpio/gpiolib.c#L2854
I missed it, I should have very well understood you meant that one...
I just read the file too sloppily.
Yeah, we we can land the DT fixes ahead of the driver change that would
be great. Otherwise we need a temporary application of
gpiod_get_raw_value().
If the patch is fine I will send it to the SoC tree and ask for it to be
applied as a fix.

Yours,
Linus Walleij
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help