Re: [PATCH] spi: atmel: use managed resource for gpio chip select

2016-11-07 Thread Nicolas Ferre
Le 21/09/2016 à 10:20, Geert Uytterhoeven a écrit : > Hi Nicolas, > > On Wed, Sep 21, 2016 at 9:55 AM, Nicolas Ferre > wrote: >> Use the managed gpio CS pin request so that we avoid having trouble >> in the cleanup code. >> In fact, if module was configured with DT,

Re: [PATCH] spi: atmel: use managed resource for gpio chip select

2016-11-07 Thread Nicolas Ferre
Le 21/09/2016 à 10:20, Geert Uytterhoeven a écrit : > Hi Nicolas, > > On Wed, Sep 21, 2016 at 9:55 AM, Nicolas Ferre > wrote: >> Use the managed gpio CS pin request so that we avoid having trouble >> in the cleanup code. >> In fact, if module was configured with DT, cleanup code released >>

Re: [PATCH] spi: atmel: use managed resource for gpio chip select

2016-09-21 Thread Geert Uytterhoeven
Hi Nicolas, On Wed, Sep 21, 2016 at 9:55 AM, Nicolas Ferre wrote: > Use the managed gpio CS pin request so that we avoid having trouble > in the cleanup code. > In fact, if module was configured with DT, cleanup code released > invalid pin. Since resource wasn't freed,

Re: [PATCH] spi: atmel: use managed resource for gpio chip select

2016-09-21 Thread Geert Uytterhoeven
Hi Nicolas, On Wed, Sep 21, 2016 at 9:55 AM, Nicolas Ferre wrote: > Use the managed gpio CS pin request so that we avoid having trouble > in the cleanup code. > In fact, if module was configured with DT, cleanup code released > invalid pin. Since resource wasn't freed, module cannot be