Re: [PATCH 1/1] extcon: gpio: queue work only if debounce is NZ

2016-03-08 Thread Guenter Roeck
On Tue, Mar 08, 2016 at 05:15:53PM +0530, Venkat Reddy Talla wrote: > Use queue_delayed_work only when debounce time is > required to read gpio state properly, read the gpio > state and set the extcon cable state in IRQ handler > context if gpio settling time is not needed. > > Signed-off-by: Venk

[PATCH 1/1] extcon: gpio: queue work only if debounce is NZ

2016-03-08 Thread Venkat Reddy Talla
Use queue_delayed_work only when debounce time is required to read gpio state properly, read the gpio state and set the extcon cable state in IRQ handler context if gpio settling time is not needed. Signed-off-by: Venkat Reddy Talla --- drivers/extcon/extcon-gpio.c | 6 +- 1 file changed, 5