Re: Regression in next with gpiolib

2017-08-31 Thread Tony Lindgren
* Linus Walleij [170830 22:59]: > On Wed, Aug 30, 2017 at 11:41 PM, Tony Lindgren wrote: > > > Hi Timur, Linus & Grygorii, > > > > Looks like commit 108d23e322a2 ("gpiolib: request the gpio before > > querying its direction") caused a regression on at least pandaboard > > es with booting hanging

Re: Regression in next with gpiolib

2017-08-30 Thread Linus Walleij
On Wed, Aug 30, 2017 at 11:41 PM, Tony Lindgren wrote: > Hi Timur, Linus & Grygorii, > > Looks like commit 108d23e322a2 ("gpiolib: request the gpio before > querying its direction") caused a regression on at least pandaboard > es with booting hanging shortly after gpio init. > > It seems to be th

Re: Regression in next with gpiolib

2017-08-30 Thread Timur Tabi
On 08/30/2017 04:41 PM, Tony Lindgren wrote: It seems to be that we're now calling request and free on all gpios before they are properly configured? Yes, that's what my patch does. At the time, it seemed like a good idea -- request the GPIO before touching its hardware. But it appears that

Regression in next with gpiolib

2017-08-30 Thread Tony Lindgren
Hi Timur, Linus & Grygorii, Looks like commit 108d23e322a2 ("gpiolib: request the gpio before querying its direction") caused a regression on at least pandaboard es with booting hanging shortly after gpio init. It seems to be that we're now calling request and free on all gpios before they are pr