Lars Poeschel
5b21533b76
gpio: adnp: Fix segfault if request_threaded_irq fails
...
In case request_threaded_irq inside adnp_irq_setup fails, the driver
segfaults. This is because irq_domain_remove is called twice with
the same pointer. First time in adnp_irq_setup and then a second time
after leaving adnp_irq_setup in the error path of adnp_i2c_probe
inside adnp_teardown.
This fixes this by removing the call to irq_domain_remove from
adnp_irq_setup.
Signed-off-by: Lars Poeschel <poeschel@lemonage.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2013-08-16 16:53:16 +02:00
..
2013-06-17 07:53:00 +02:00
2013-08-16 15:24:35 +02:00
2013-08-16 16:53:16 +02:00
2013-08-16 15:24:35 +02:00
2013-08-16 15:24:35 +02:00
2012-07-12 13:40:13 +02:00
2013-08-16 15:24:35 +02:00
2013-06-30 01:37:07 +02:00
2013-06-11 15:44:57 -07:00
2012-11-28 11:39:59 -08:00
2013-08-16 15:24:35 +02:00
2013-08-16 15:24:35 +02:00
2012-09-01 01:12:01 +02:00
2013-08-16 15:24:35 +02:00
2012-11-28 11:39:33 -08:00
2012-03-16 11:15:48 -05:00
2013-04-11 19:33:54 +02:00
2013-06-19 21:40:38 +02:00
2013-08-16 15:24:35 +02:00
2011-06-06 10:10:11 -06:00
2013-08-16 15:24:35 +02:00
2013-08-16 15:24:35 +02:00
2011-08-22 09:12:54 +01:00
2013-07-03 14:35:40 -07:00
2013-05-09 09:59:16 -07:00
2013-05-30 19:20:20 +02:00
2013-08-16 15:24:35 +02:00
2013-08-16 15:24:35 +02:00
2013-03-27 16:05:11 +01:00
2013-03-27 16:05:18 +01:00
2012-09-01 01:02:27 +02:00
2013-08-16 15:24:35 +02:00
2013-08-16 15:24:35 +02:00
2013-05-30 19:39:20 +02: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
2013-08-16 15:24:35 +02:00
2013-06-17 10:52:40 +02:00
2013-08-16 16:47:30 +02:00
2013-06-25 11:48:25 +02:00
2013-08-16 15:19:11 +02:00
2013-05-20 20:14:43 +02:00
2013-08-16 15:24:35 +02:00
2013-08-16 15:04:40 +02:00
2013-08-16 15:24:35 +02:00
2013-08-16 15:24:35 +02:00
2013-05-20 20:27:30 +02:00
2013-08-16 15:24:35 +02:00
2013-07-21 18:14:20 +02:00
2012-11-28 11:39:59 -08:00
2013-08-16 15:24:35 +02:00
2013-08-16 15:24:35 +02:00
2012-03-25 23:57:20 +01:00
2013-06-12 05:24:16 +09:00
2013-05-20 20:27:30 +02:00
2012-11-28 11:39:33 -08:00
2013-01-22 11:41:56 -08:00
2013-08-16 15:24:35 +02:00
2013-05-30 19:20:22 +02:00
2013-03-27 16:05:16 +01:00
2013-08-16 15:24:35 +02:00
2013-05-30 19:20:21 +02:00
2013-05-18 11:55:19 +02:00
2013-08-16 15:24:35 +02:00
2011-08-22 09:12:55 +01:00
2012-12-16 18:55:20 -08:00
2013-03-27 16:05:18 +01:00
2013-08-16 15:24:35 +02:00
2013-08-16 15:24:35 +02:00
2013-08-16 15:24:35 +02:00
2013-07-20 21:38:18 +02:00
2013-07-20 19:03:48 +02:00
2013-07-20 19:05:15 +02:00
2013-08-16 15:24:35 +02:00
2013-05-20 20:27:30 +02:00
2012-11-28 11:39:59 -08:00
2013-05-30 19:20:21 +02:00
2013-08-16 15:24:35 +02:00
2013-08-16 15:24:35 +02:00
2013-08-16 15:24:35 +02:00
2013-06-17 07:47:33 +02:00
2013-04-12 00:31:18 +02:00
2013-08-16 15:26:31 +02:00
2013-07-21 00:20:34 +02:00
2013-07-21 16:30:19 +02:00
2013-07-21 16:30:19 +02:00