Re: [PATCH RFC v2 4/5] selftest: gpio: Add wait flag to gpio-mockup-cdev
Linus Walleij <[email protected]>
| Newsgroups | dev.linux.lists.kernelci,org.infradead.lists.linux-arm-kernel,org.infradead.lists.linux-mediatek,org.kernel.vger.linux-gpio,org.kernel.vger.linux-kernel,org.kernel.vger.linux-kselftest |
|---|---|
| Message-ID | <CACRpkdbBAa5piO8BJoxx04spOc22CBJ-zbi82BT9sG54c=csNw@mail.gmail.com> |
On Fri, Oct 25, 2024 at 9:46 PM Nícolas F. R. A. Prado <[email protected]> wrote: > Add a -w flag to the gpio-mockup-cdev utility that causes the program to > wait until a signal is received before exiting, even when its behavior > is to retrieve the GPIO value of the line. This allows using this > utility to keep a GPIO line configured even when in input mode, which > will be relied on in other tests. > > Signed-off-by: Nícolas F. R. A. Prado <[email protected]> Bartosz has to look at this patch! But overall the idea looks sound to me. Yours, Linus Walleij