Re: [PATCH 1/2] gpiolib: Split GPIO flags parsing and GPIO configuration

2015-10-16 Thread Linus Walleij
On Mon, Oct 12, 2015 at 11:20 PM, Laurent Pinchart wrote: > When requesting a GPIO through the legacy or the gpiod_* API the > gpiochip request operation is first called and then the GPIO flags are > parsed and the GPIO is configured. This prevents the gpiochip from > rejecting the request if the

[PATCH 1/2] gpiolib: Split GPIO flags parsing and GPIO configuration

2015-10-12 Thread Laurent Pinchart
When requesting a GPIO through the legacy or the gpiod_* API the gpiochip request operation is first called and then the GPIO flags are parsed and the GPIO is configured. This prevents the gpiochip from rejecting the request if the flags are not supported by the device. To fix this split the parse