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-01-12 11:05:24 +01:00
2018-01-31 12:25:27 -08:00
2018-05-16 14:35:24 +02:00
2018-05-16 14:35:24 +02:00
2018-05-16 14:35:24 +02:00
2018-03-26 10:10:18 +02:00
2018-06-12 16:19:22 -07:00
2018-01-13 22:12:07 +01:00
2018-01-13 22:14:56 +01:00
2018-01-13 22:18:34 +01:00
2018-01-13 22:22:49 +01:00
2018-01-13 22:47:48 +01:00
2018-06-12 16:19:22 -07:00
2018-03-27 15:42:29 +02:00
2018-06-12 16:19:22 -07:00
2018-01-31 12:25:27 -08:00
2018-01-13 22:56:52 +01:00
2018-01-14 01:48:48 +01:00
2018-01-14 01:56:24 +01:00
2018-01-14 02:00:10 +01:00
2018-01-14 02:00:10 +01:00
2018-06-12 16:19:22 -07:00
2018-03-19 01:50:07 +01:00
2018-05-23 11:30:13 +02:00
2018-05-16 14:35:24 +02:00
2018-03-19 01:50:07 +01:00
2018-03-19 01:50:24 +01:00
2018-05-16 14:35:24 +02:00
2018-05-16 14:35:24 +02:00
2018-03-19 01:50:28 +01:00
2018-02-22 13:54:35 +01:00
2018-06-12 16:19:22 -07:00
2018-03-19 01:50:29 +01:00
2018-05-16 14:35:24 +02:00
2018-02-22 15:29:05 +01:00
2017-12-02 22:42:21 +01:00
2018-03-19 01:50:29 +01:00
2018-03-19 01:50:30 +01:00
2018-03-19 01:50:31 +01:00
2018-03-19 01:50:31 +01:00
2018-05-16 14:35:24 +02:00
2018-05-16 14:35:24 +02:00
2018-05-16 14:35:24 +02:00
2018-05-16 14:35:24 +02:00
2018-05-16 14:35:24 +02:00
2018-05-16 14:35:24 +02:00
2017-11-29 13:25:23 +01:00
2018-03-27 15:18:06 +02:00
2018-05-16 14:35:24 +02:00
2018-05-16 14:35:24 +02:00
2018-02-22 15:25:40 +01:00
2018-06-12 16:19:22 -07:00
2018-05-16 14:35:24 +02:00
2018-01-16 23:42:36 +01:00
2018-05-16 14:35:24 +02:00
2018-05-16 14:35:24 +02:00
2018-05-16 14:35:24 +02:00
2018-05-24 10:14:30 +02:00
2018-05-24 13:43:56 +02:00
2018-05-24 14:22:04 +02:00
2018-05-24 14:24:00 +02:00
2018-05-24 14:25:13 +02:00
2018-05-24 17:09:41 +02:00
2018-05-24 17:09:41 +02:00
2018-05-24 17:09:41 +02:00
2018-04-27 00:55:16 +02:00
2018-04-30 10:48:08 +02:00
2018-05-24 17:09:41 +02:00
2018-05-16 14:35:24 +02:00
2018-05-24 17:09:41 +02:00
2018-02-22 13:49:59 +01:00
2018-03-18 17:48:59 +01:00
2017-12-22 15:24:31 +01:00
2018-03-02 11:00:43 +01:00
2018-05-24 10:22:21 +02:00
2018-05-23 10:07:26 +02:00
2017-11-08 14:06:21 +01:00
2017-11-13 11:43:10 +01:00
2018-02-22 15:25:40 +01:00
2018-06-12 16:19:22 -07:00
2018-02-22 15:14:58 +01:00
2018-02-23 15:26:42 +01:00
2018-05-16 14:35:24 +02:00
2018-07-23 23:13:31 +02:00
2018-05-16 14:35:24 +02:00
2017-11-08 14:06:21 +01:00
2018-01-09 14:51:00 +01:00
2018-02-12 09:36:06 +01:00
2018-03-26 10:28:19 +02:00
2017-12-29 21:13:04 +01:00
2018-05-16 14:35:24 +02:00
2018-04-27 01:06:21 +02:00
2017-11-08 14:06:21 +01:00
2018-05-23 11:43:03 +02:00
2018-02-02 14:22:53 -08:00
2017-12-22 15:24:31 +01:00
2018-07-23 23:13:31 +02:00
2017-12-20 10:34:58 +01:00
2018-06-08 10:31:52 -07:00
2018-05-23 14:01:03 +02:00
2018-05-23 14:01:03 +02:00
2018-04-05 09:51:41 -07:00