Messages in this thread | | | From | Linus Walleij <> | Date | Fri, 28 Aug 2020 16:37:19 +0200 | Subject | Re: [PATCH v5 00/20] gpio: cdev: add uAPI v2 |
| |
On Fri, Aug 28, 2020 at 12:47 AM Kent Gibson <warthog618@gmail.com> wrote:
> The particular use case I am considering is one I had been asked about - > changing a requested line from input with edge detection to output, and > vice versa. Losing interrupts isn't really an issue for this use case - > it is expected. Yet the current implementation requires a re-request.
This is possible to do for in-kernel users, but I don't know if that makes sense for userspace. It is for one-offs and prototyping after all, there is no need (IMO) to make it overly convenient for users to implement all kind of weirdness in userspace unless there is a very real use case.
Yours, Linus Walleij
| |