Masahiro Yamada
bbfbf04c2d
gpio: uniphier: set legitimate irq trigger type in .to_irq hook
...
If a GPIO chip is a part of a hierarchy IRQ domain, there is no
way to specify the trigger type when gpio(d)_to_irq() allocates an
interrupt on-the-fly.
Currently, uniphier_gpio_to_irq() sets IRQ_TYPE_NONE, but it causes
an error in the .alloc() hook of the parent domain.
(drivers/irq/irq-uniphier-aidet.c)
Even if we change irq-uniphier-aidet.c to accept the NONE type,
GIC complains about it since commit 83a86fbb5b ("irqchip/gic:
Loudly complain about the use of IRQ_TYPE_NONE").
Instead, use IRQ_TYPE_LEVEL_HIGH as a temporary value when an irq
is allocated. irq_set_irq_type() will override it when the irq is
really requested.
Fixes: dbe776c2ca ("gpio: uniphier: add UniPhier GPIO controller driver")
Reported-by: Katsuhiro Suzuki <suzuki.katsuhiro@socionext.com >
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com >
Tested-by: Katsuhiro Suzuki <suzuki.katsuhiro@socionext.com >
Signed-off-by: Linus Walleij <linus.walleij@linaro.org >
2018-07-23 23:13:31 +02:00
..
2018-07-19 16:42:15 +02:00
2018-06-06 13:49:25 -07:00
2018-06-12 16:19:22 -07:00
2018-07-02 13:18:22 -07:00
2018-06-30 21:24:18 +09:00
2018-06-12 16:19:22 -07:00
2018-07-03 16:42:51 +02:00
2018-06-04 10:58:12 -07:00
2018-07-06 19:13:42 -07:00
2018-06-17 08:38:55 +09:00
2018-07-02 04:24:44 -07:00
2018-06-12 16:19:22 -07:00
2018-07-10 13:50:31 +10:00
2018-06-27 11:01:29 -07:00
2018-07-10 22:12:47 +02:00
2018-06-06 18:39:49 -07:00
2018-07-18 13:38:37 +02:00
2018-06-07 10:23:33 -07:00
2018-06-24 06:31:54 +08:00
2018-07-13 10:54:01 -07:00
2018-06-12 16:19:22 -07:00
2018-06-28 11:57:21 +05:30
2018-06-12 16:19:22 -07:00
2018-06-12 16:19:22 -07:00
2018-06-12 16:19:22 -07:00
2018-06-22 10:58:27 +02:00
2018-06-12 16:19:22 -07:00
2018-07-07 16:55:22 +02:00
2018-07-23 23:13:31 +02:00
2018-07-22 12:04:51 -07:00
2018-07-09 17:16:11 -07:00
2018-06-12 16:19:22 -07:00
2018-06-16 16:40:36 -07:00
2018-06-11 12:09:19 -07:00
2018-06-12 16:19:22 -07:00
2018-07-13 15:34:29 -07:00
2018-06-12 16:19:22 -07:00
2018-06-24 14:50:52 +01:00
2018-07-13 12:42:14 -07:00
2018-06-27 09:16:53 -07:00
2018-07-20 13:55:56 +02:00
2018-06-12 16:19:22 -07:00
2018-06-22 14:22:02 +02:00
2018-06-28 10:40:47 -07:00
2018-06-12 16:19:22 -07:00
2018-06-24 06:33:54 +08:00
2018-06-07 10:23:33 -07:00
2018-06-12 16:19:22 -07:00
2018-07-20 14:24:17 -07:00
2018-06-26 11:28:38 +02:00
2018-06-12 18:28:00 -07:00
2018-06-12 16:19:22 -07:00
2018-06-12 16:19:22 -07:00
2018-06-14 16:21:46 +09:00
2018-07-22 12:04:51 -07:00
2018-07-09 11:17:47 +02:00
2018-07-03 10:01:44 +02:00
2018-07-18 19:32:54 -07:00
2018-06-25 21:36:45 +08:00
2018-06-12 18:28:00 -07:00
2018-06-05 16:20:22 -07:00
2018-07-13 10:54:01 -07:00
2018-07-20 07:43:59 -07:00
2018-07-07 17:30:25 +02:00
2018-07-16 08:41:32 -06:00
2018-06-19 15:53:32 +05:30
2018-06-12 16:19:22 -07:00
2018-06-04 10:58:12 -07:00
2018-06-15 18:10:01 -03:00
2018-07-19 11:54:04 -07:00
2018-06-12 16:19:22 -07:00
2018-06-18 17:48:42 +01:00
2018-06-06 18:39:49 -07:00
2018-07-14 12:47:04 +02:00
2018-07-20 15:29:59 +03:00
2018-06-07 12:34:37 -07:00
2018-06-12 16:19:22 -07:00
2018-06-12 16:19:22 -07:00
2018-07-18 15:25:25 -07:00
2018-06-14 16:25:43 +09:00
2018-06-12 16:19:22 -07:00
2018-06-12 16:19:22 -07:00
2018-06-15 07:55:25 +09:00
2018-06-12 18:28:00 -07:00
2018-06-04 12:35:03 -07:00
2018-07-13 10:37:54 +02:00
2018-07-06 09:14:34 -07:00
2018-06-15 18:10:01 -03:00
2018-07-22 12:04:51 -07:00
2018-06-12 16:19:22 -07:00
2018-06-12 16:19:22 -07:00
2018-07-19 15:09:59 -07:00
2018-06-15 18:11:26 -03:00
2018-06-12 16:19:22 -07:00
2018-07-06 17:44:35 +02:00
2018-06-19 21:36:37 -04:00
2018-06-12 18:28:00 -07:00
2018-07-07 17:29:17 +02:00
2018-06-28 21:34:39 +09:00
2018-07-07 16:57:35 +02:00
2018-07-06 17:21:34 +02:00
2018-06-12 16:19:22 -07:00
2018-07-21 16:46:53 -07:00
2018-06-23 10:23:49 +09:00
2018-06-17 05:25:18 +09:00
2018-06-12 16:19:22 -07:00
2018-06-16 06:35:02 +09:00
2018-06-05 16:20:22 -07:00
2018-06-12 12:56:02 -07:00
2018-06-23 20:44:11 +08:00
2018-06-06 17:27:14 -07:00