Re: [PATCH 5/8] extcon: gpio: Request reasonable interrupts

2017-09-25 Thread Chanwoo Choi
Hi Linus, On 2017년 09월 24일 23:56, Linus Walleij wrote: > The only thing that makes sense is to request a falling edge interrupt > if the line is active low and a rising edge interrupt if the line is > active high, so just do that and get rid of the assignment from > platform data. The GPIO

Re: [PATCH 5/8] extcon: gpio: Request reasonable interrupts

2017-09-25 Thread Chanwoo Choi
Hi Linus, On 2017년 09월 24일 23:56, Linus Walleij wrote: > The only thing that makes sense is to request a falling edge interrupt > if the line is active low and a rising edge interrupt if the line is > active high, so just do that and get rid of the assignment from > platform data. The GPIO

[PATCH 5/8] extcon: gpio: Request reasonable interrupts

2017-09-24 Thread Linus Walleij
The only thing that makes sense is to request a falling edge interrupt if the line is active low and a rising edge interrupt if the line is active high, so just do that and get rid of the assignment from platform data. The GPIO descriptor knows if the line is active high or low. Also make irq a

[PATCH 5/8] extcon: gpio: Request reasonable interrupts

2017-09-24 Thread Linus Walleij
The only thing that makes sense is to request a falling edge interrupt if the line is active low and a rising edge interrupt if the line is active high, so just do that and get rid of the assignment from platform data. The GPIO descriptor knows if the line is active high or low. Also make irq a