Re: [PATCH] gpio: pca953x: fix irq_domain_add_simple usage

2013-04-11 Thread Maxime Ripard
Hi Linus, Le 10/04/2013 22:54, Linus Walleij a écrit : > On Wed, Apr 3, 2013 at 7:40 PM, Alexandre Belloni > wrote: > >> We actually have to pass chip as the host_data parameter of >> irq_domain_add_simple() as later on, it is used to initialize chip_data >> in pca953x_gpio_irq_map(). Failing to

Re: [PATCH] gpio: pca953x: fix irq_domain_add_simple usage

2013-04-10 Thread Linus Walleij
On Wed, Apr 3, 2013 at 7:40 PM, Alexandre Belloni wrote: > We actually have to pass chip as the host_data parameter of > irq_domain_add_simple() as later on, it is used to initialize chip_data > in pca953x_gpio_irq_map(). Failing to do so is leading to a NULL pointer > dereference after calling i

Re: [PATCH] gpio: pca953x: fix irq_domain_add_simple usage

2013-04-09 Thread Alexandre Belloni
Linus, Grant, I take the liberty to ping you on that one as it is a regression and it may be worth to include it in 3.9 if it is still time to do so. Best regards, On 03/04/2013 19:40, Alexandre Belloni wrote: > We actually have to pass chip as the host_data parameter of > irq_domain_add_simple(

[PATCH] gpio: pca953x: fix irq_domain_add_simple usage

2013-04-03 Thread Alexandre Belloni
We actually have to pass chip as the host_data parameter of irq_domain_add_simple() as later on, it is used to initialize chip_data in pca953x_gpio_irq_map(). Failing to do so is leading to a NULL pointer dereference after calling irq_data_get_irq_chip_data() in pca953x_irq_mask(), pca953x_irq_unma