On 08/20/2018 11:10 AM, Linus Walleij wrote: > On Mon, Aug 20, 2018 at 10:20 AM Hans Verkuil <hverkuil@xxxxxxxxx> wrote: > >> I haven't posted any patches yet, BTW. I did prepare patches, but I had no >> time to test them. > > I'm curious about it. This change will remove the slowpath as I wanted > so I see it as a very desireable improvement even if it's mostly there > to fix a specific CEC usecase! > > Yours, > Linus Walleij > It's available here: https://git.linuxtv.org/hverkuil/media_tree.git/log/?h=gpio-test The newest patch removes gpiochip_(un)lock_as_irq from all drivers (and often whole callbacks could be removed since that was the only reason for having the callback in the first place). The patch before that makes the core gpiolib change. I'm uncertain about the gpiolib-sysfs.c and -acpi.c changes and also the hid-cp2112.c changes. This newest patch is just compile tested. The core gpiolib patch has been tested with the BeagleBone Black and the CEC driver. Regards, Hans