Alexandre Belloni
e7a7f972f9
gpio: pca953x: fix irq_domain_add_simple usage
...
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_unmask(), pca953x_irq_bus_lock(),
pca953x_irq_bus_sync_unlock() and pca953x_irq_set_type().
Fixes regression introduced by commit
0e8f2fdacf1d44651aa7e57063c76142d1f4988b (gpio: pca953x: use simple
irqdomain)
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2013-04-11 19:01:19 +02:00
..
2012-07-05 14:49:13 +02:00
2012-11-28 11:39:59 -08:00
2012-11-28 11:39:59 -08:00
2012-11-28 11:39:59 -08:00
2012-11-28 11:39:59 -08:00
2012-07-12 13:40:13 +02:00
2012-11-28 11:39:59 -08:00
2012-10-07 17:49:05 +09:00
2012-10-27 18:17:30 +02:00
2012-11-28 11:39:59 -08:00
2012-12-16 18:55:20 -08:00
2013-01-03 15:57:16 -08:00
2012-09-01 01:12:01 +02:00
2013-02-14 17:44:37 +01:00
2012-11-28 11:39:33 -08:00
2012-03-16 11:15:48 -05:00
2012-11-28 11:39:59 -08:00
2013-03-27 09:08:57 +01:00
2011-06-06 10:10:11 -06:00
2012-11-28 11:39:59 -08:00
2011-08-22 09:12:54 +01:00
2013-02-05 13:33:30 +00:00
2012-11-28 11:39:59 -08:00
2013-02-05 13:33:29 +00:00
2012-12-11 13:13:55 -08:00
2012-11-28 11:39:59 -08:00
2012-11-28 11:39:59 -08:00
2012-11-28 11:39:59 -08:00
2012-09-01 01:02:27 +02:00
2012-11-28 11:39:59 -08:00
2012-12-11 13:13:55 -08:00
2012-11-28 11:39:59 -08:00
2012-05-21 14:31:53 +01:00
2013-02-04 21:41:46 +01:00
2012-11-28 11:39:33 -08:00
2012-11-28 11:39:33 -08:00
2011-08-01 04:58:00 -07:00
2012-11-28 11:39:59 -08:00
2013-03-08 21:34:34 +00:00
2012-11-28 11:39:33 -08:00
2013-02-26 09:35:29 -08:00
2013-02-11 22:21:29 +00:00
2013-02-14 00:22:45 +01:00
2013-04-11 19:01:19 +02:00
2012-12-07 09:16:12 +01:00
2012-12-11 13:13:55 -08:00
2013-01-22 10:43:15 +01:00
2013-01-25 10:51:12 +01:00
2012-11-28 11:39:59 -08:00
2012-11-28 11:39:59 -08:00
2012-03-25 23:57:20 +01:00
2013-02-21 14:58:40 -08:00
2012-11-28 11:39:59 -08:00
2012-11-28 11:39:33 -08:00
2013-01-22 11:41:56 -08:00
2012-11-28 11:39:33 -08:00
2013-03-27 11:21:52 +01:00
2013-01-22 11:41:56 -08:00
2012-11-28 11:39:59 -08:00
2012-12-11 13:13:55 -08:00
2013-01-22 11:41:56 -08:00
2012-11-28 11:39:59 -08:00
2011-08-22 09:12:55 +01:00
2012-12-16 18:55:20 -08:00
2012-11-28 11:39:59 -08:00
2012-11-28 11:39:59 -08:00
2013-01-03 15:57:16 -08:00
2013-01-17 11:48:12 +01:00
2012-11-28 11:39:59 -08:00
2012-01-02 00:26:06 -07:00
2013-01-03 15:57:16 -08:00
2012-11-28 11:39:59 -08:00
2013-02-11 22:21:29 +00:00
2012-11-28 11:39:59 -08:00
2012-11-28 11:39:59 -08:00
2012-11-28 11:39:59 -08:00
2012-11-28 11:39:59 -08:00
2012-11-28 11:39:59 -08:00
2013-02-04 21:41:47 +01:00
2013-03-07 04:37:24 +01:00
2013-03-02 13:20:20 +00:00
2013-02-26 09:35:29 -08:00
2013-02-26 09:35:29 -08:00