Re: [PATCH 2/3] gpio: dln2: use bus_sync_unlock instead of scheduling work

2015-01-10 Thread Octavian Purdila
On Fri, Jan 9, 2015 at 7:58 PM, Linus Walleij wrote: > On Fri, Jan 9, 2015 at 12:40 AM, Octavian Purdila > wrote: >> On Thu, Jan 1, 2015 at 9:56 AM, Linus Walleij >> wrote: >>> On Thu, Dec 11, 2014 at 2:02 PM, Octavian Purdila >>> wrote: >>> Use the irq_chip bus_sync_unlock method to upda

Re: [PATCH 2/3] gpio: dln2: use bus_sync_unlock instead of scheduling work

2015-01-08 Thread Linus Walleij
On Fri, Jan 9, 2015 at 12:40 AM, Octavian Purdila wrote: > On Thu, Jan 1, 2015 at 9:56 AM, Linus Walleij > wrote: >> On Thu, Dec 11, 2014 at 2:02 PM, Octavian Purdila >> wrote: >> >>> Use the irq_chip bus_sync_unlock method to update hardware registers >>> instead of scheduling work from the ma

Re: [PATCH 2/3] gpio: dln2: use bus_sync_unlock instead of scheduling work

2015-01-08 Thread Octavian Purdila
On Thu, Jan 1, 2015 at 9:56 AM, Linus Walleij wrote: > On Thu, Dec 11, 2014 at 2:02 PM, Octavian Purdila > wrote: > >> Use the irq_chip bus_sync_unlock method to update hardware registers >> instead of scheduling work from the mask/unmask methods. This simplifies >> a bit the driver and make it m

Re: [PATCH 2/3] gpio: dln2: use bus_sync_unlock instead of scheduling work

2014-12-31 Thread Linus Walleij
On Thu, Dec 11, 2014 at 2:02 PM, Octavian Purdila wrote: > Use the irq_chip bus_sync_unlock method to update hardware registers > instead of scheduling work from the mask/unmask methods. This simplifies > a bit the driver and make it more uniform with the other GPIO IRQ > drivers. > > Signed-off-

[PATCH 2/3] gpio: dln2: use bus_sync_unlock instead of scheduling work

2014-12-11 Thread Octavian Purdila
Use the irq_chip bus_sync_unlock method to update hardware registers instead of scheduling work from the mask/unmask methods. This simplifies a bit the driver and make it more uniform with the other GPIO IRQ drivers. Signed-off-by: Octavian Purdila --- drivers/gpio/gpio-dln2.c | 92 +