Re: [PATCH] gpiolib: return quietly from gpiod_get_direction() without .get_direction()
Mehmet Fide <[email protected]>
| Newsgroups | org.kernel.vger.linux-gpio,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
Hello, A gentle ping on this one, sent a week ago and I have not seen a reply: https://lore.kernel.org/linux-gpio/[email protected]/ To recap: gpiod_get_direction() warns when a chip has no .get_direction(), which is a legitimate thing for a chip to lack. On vf610 the direction is not in the GPIO block at all, it is a bit of the pinmux pad register, so the driver cannot implement the callback and every caller that asks for a direction produces a WARN. Happy to respin or take a different approach if you would rather solve it elsewhere. Best regards, Mehmet Fide