Michael Walle
ff7a1790fb
gpiolib: Fix irq_domain resource tracking for gpiochip_irqchip_add_domain()
...
Up until commit 6a45b0e2589f ("gpiolib: Introduce
gpiochip_irqchip_add_domain()") all irq_domains were allocated
by gpiolib itself and thus gpiolib also takes care of freeing it.
With gpiochip_irqchip_add_domain() a user of gpiolib can associate an
irq_domain with the gpio_chip. This irq_domain is not managed by
gpiolib and therefore must not be freed by gpiolib.
Fixes: 6a45b0e2589f ("gpiolib: Introduce gpiochip_irqchip_add_domain()")
Reported-by: Jiawen Wu <jiawenwu@trustnetic.com>
Signed-off-by: Michael Walle <mwalle@kernel.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Andy Shevchenko <andy@kernel.org>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
2023-06-19 14:57:38 +02:00
..
2022-02-09 13:00:45 +00:00
2022-07-28 15:47:56 +02:00
2023-04-25 17:18:18 -07:00
2023-04-11 21:08:31 +02:00
2022-10-25 09:57:57 +02:00
2023-03-10 16:17:16 +01:00
2021-05-21 15:29:53 +02:00
2023-03-06 12:33:02 +02:00
2022-01-24 17:23:15 +02:00
2023-03-15 10:38:03 +01:00
2022-11-30 17:18:35 +01:00
2020-09-28 12:22:04 +02:00
2022-04-25 12:10:02 +02:00
2022-10-19 17:03:55 +03:00
2023-03-10 16:17:20 +01:00
2023-03-10 16:17:19 +01:00
2023-03-10 16:17:23 +01:00
2022-06-10 14:51:35 +02:00
2021-05-21 15:43:26 +02:00
2021-04-14 10:19:22 +01:00
2021-12-17 17:39:35 +01:00
2022-08-04 18:34:05 -07:00
2020-12-08 09:41:32 +01:00
2023-03-10 16:17:24 +01:00
2019-05-30 11:26:32 -07:00
2021-12-17 17:44:19 +01:00
2022-06-06 14:09:16 +03:00
2020-12-12 01:37:46 +01:00
2022-10-19 17:03:55 +03:00
2021-05-21 14:45:57 +02:00
2023-04-25 17:18:18 -07:00
2022-06-06 14:09:16 +03:00
2022-06-10 14:26:15 +02:00
2022-12-30 16:57:27 +01:00
2023-03-06 17:10:46 +02:00
2021-12-17 17:39:35 +01:00
2022-02-02 10:16:19 +01:00
2023-01-27 14:05:38 +01:00
2022-10-26 14:52:02 +02:00
2023-05-23 10:47:41 +02:00
2023-03-15 10:37:56 +01:00
2023-03-15 13:49:18 +01:00
2023-01-30 15:55:30 +01:00
2023-01-30 15:55:28 +01:00
2022-06-23 16:42:27 +02:00
2022-10-17 10:36:19 +02:00
2023-03-10 16:17:27 +01:00
2023-03-10 16:17:29 +01:00
2019-11-07 09:27:48 +01:00
2023-01-30 15:55:28 +01:00
2023-01-30 15:55:28 +01:00
2023-03-09 16:08:39 +02:00
2022-10-25 09:56:46 +02:00
2022-10-25 09:56:46 +02:00
2023-03-10 16:17:30 +01:00
2023-03-06 10:47:22 +01:00
2021-05-05 16:07:41 +02:00
2022-09-13 16:17:45 +02:00
2019-07-09 09:07:00 -07:00
2019-11-07 09:27:48 +01:00
2022-10-26 14:52:01 +02:00
2023-04-26 11:40:29 +01:00
2021-05-12 13:35:39 +02:00
2023-03-23 14:31:18 +01:00
2023-03-10 16:27:28 +01:00
2019-10-31 15:03:10 -07:00
2022-06-10 14:51:36 +02:00
2022-07-19 09:57:40 +02:00
2022-06-10 14:51:36 +02:00
2019-04-05 00:04:26 +07:00
2021-12-17 17:44:19 +01:00
2019-11-07 09:27:48 +01:00
2021-10-13 19:52:26 +02:00
2023-03-10 16:17:33 +01:00
2022-02-09 13:00:45 +00:00
2022-10-17 10:36:19 +02:00
2022-02-09 13:00:45 +00:00
2022-05-05 14:56:37 +02:00
2019-07-29 00:03:52 +02:00
2020-05-18 09:15:16 +02:00
2022-02-09 13:00:45 +00:00
2022-04-25 12:10:02 +02:00
2023-03-06 17:10:46 +02:00
2022-05-20 19:20:35 +02:00
2023-03-10 16:17:32 +01:00
2020-07-08 09:24:08 +02:00
2023-03-23 16:22:18 +02:00
2022-04-25 12:10:02 +02:00
2023-05-17 11:19:32 +02:00
2021-04-09 14:54:23 -07:00
2022-09-07 13:17:23 +02:00
2023-03-06 12:33:01 +02:00
2023-03-10 16:17:31 +01:00
2022-10-08 09:46:29 -07:00
2023-01-30 15:55:31 +01:00
2023-01-25 13:33:29 +01:00
2023-03-06 10:47:22 +01:00
2019-04-05 00:04:27 +07:00
2023-03-10 16:17:35 +01:00
2021-12-17 17:39:35 +01:00
2023-01-30 15:55:27 +01:00
2023-01-30 15:55:28 +01:00
2023-01-30 15:55:30 +01:00
2022-06-21 18:01:11 +03:00
2023-03-10 16:17:36 +01:00
2023-03-15 13:40:10 +01:00
2022-06-10 14:51:36 +02:00
2022-10-24 12:29:26 +03:00
2022-12-30 16:58:58 +01:00
2023-03-22 17:46:12 +01:00
2023-03-15 10:38:39 +01:00
2019-05-30 11:29:52 -07:00
2023-03-15 10:38:05 +01:00
2023-03-23 14:31:18 +01:00
2019-05-24 17:36:45 +02:00
2022-08-31 17:46:30 +02:00
2023-03-06 12:33:02 +02:00
2023-03-06 12:33:02 +02:00
2023-01-30 15:55:30 +01:00
2019-11-07 09:27:48 +01:00
2023-03-15 10:38:16 +01:00
2019-11-07 09:27:48 +01:00
2022-06-06 14:09:16 +03:00
2023-06-13 16:22:16 +02:00
2023-06-07 14:49:35 +02:00
2023-03-23 14:31:18 +01:00
2022-11-15 15:41:45 +01:00
2021-08-12 11:39:38 +01:00
2022-06-10 14:51:35 +02:00
2022-12-30 16:59:06 +01:00
2023-03-23 14:31:18 +01:00
2023-03-15 10:43:08 +01:00
2022-05-02 10:41:33 +02:00
2023-03-06 17:10:46 +02:00
2023-03-06 17:10:46 +02:00
2023-03-15 10:43:08 +01:00
2022-10-03 20:56:46 +02:00
2023-04-26 15:43:49 -07:00
2022-10-20 13:47:54 +02:00
2023-03-23 14:31:18 +01:00
2019-05-30 11:29:19 -07:00
2022-02-25 09:59:35 +01:00
2022-10-17 10:36:19 +02:00
2021-12-17 17:50:46 +01:00
2019-11-07 09:27:48 +01:00
2021-12-17 17:39:35 +01:00
2021-12-17 17:50:46 +01:00
2021-05-24 20:58:46 +02:00
2022-01-24 17:23:15 +02:00
2023-03-23 14:31:18 +01:00
2022-06-10 14:51:35 +02:00
2022-10-17 10:36:19 +02:00
2022-03-31 16:44:57 +02:00
2022-09-20 09:02:08 +02:00
2021-12-17 17:50:46 +01:00
2021-11-08 11:55:21 -08:00
2023-02-22 11:01:17 -08:00
2021-08-31 11:29:28 +02:00
2022-01-14 18:50:52 -05:00
2023-03-23 14:31:18 +01:00
2021-02-15 11:43:29 +01:00
2023-01-30 15:55:30 +01:00
2022-06-06 14:09:16 +03:00
2022-06-23 16:29:55 +02:00
2021-12-17 17:50:46 +01:00
2022-10-24 12:29:41 +03:00
2021-05-25 16:21:14 +02:00
2022-10-08 09:46:29 -07:00
2020-05-18 09:16:31 +02:00
2021-05-23 20:30:26 +02:00
2023-03-23 14:31:18 +01:00
2023-03-23 14:31:18 +01:00
2023-03-23 14:31:19 +01:00
2023-03-15 10:38:22 +01:00
2019-12-09 10:40:18 +01:00
2023-01-30 15:55:31 +01:00
2021-08-12 11:39:38 +01:00
2021-09-23 10:09:58 +02:00
2023-04-25 17:18:18 -07:00
2023-03-06 12:33:02 +02:00
2023-01-30 15:55:29 +01:00
2020-11-05 15:35:40 +01:00
2023-01-30 15:55:28 +01:00
2018-09-25 09:08:48 +02:00
2023-03-06 12:33:02 +02:00
2023-03-06 12:33:02 +02:00
2023-03-06 12:33:02 +02:00
2022-11-15 11:21:43 +01:00
2023-04-27 11:53:57 -07:00
2022-10-24 12:30:26 +03:00
2023-06-19 14:57:38 +02:00
2023-01-30 15:55:29 +01:00
2023-05-23 10:47:41 +02:00
2023-05-02 10:41:31 -07:00
2023-03-06 12:33:01 +02:00