On Wed, Oct 09, 2019 at 08:22:11AM +0800, Kent Gibson wrote: > On Wed, Oct 09, 2019 at 02:03:58AM +0200, Bartosz Golaszewski wrote: > > śr., 9 paź 2019 o 01:56 Kent Gibson <warthog618@xxxxxxxxx> napisał(a): > > > > But there's absolutely nothing wrong with writing code even if you're > > not sure about the solution - it's even encouraged[1]. It's much > > easier to discuss existing code than potential solutions. > > > > [1] https://lkml.org/lkml/2000/8/25/132 > > > Exactly - show me your code. > Safe to assume your code is in your topic/gpio-uapi-config branch? I hope so, cos I've forked from that into github.com/warthog618/linux and have started working on it. So far I've added pull up/down support to lineevent_create, and added default_values to the gpiohandle_config (for setting outputs). Currently looking at implementing the actual set config, and sucking on whether that is best done by refactoring bit out of linehandle_create. Will sort that into patches once it is in a fit state. Feel free to poke me if I'm going off track. Cheers, Kent.