]> git.baikalelectronics.ru Git - kernel.git/commit
gpiolib: Add support for the irqdomain which doesn't use irq_fwspec as arg
authorKevin Hao <haokexin@gmail.com>
Tue, 14 Jan 2020 08:28:19 +0000 (16:28 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 15 Jan 2020 10:17:44 +0000 (11:17 +0100)
commit16b6d93b6652ce3da38c44fb7a9e2a4837e555ba
treef10fd53ed3d6e2a0960dec10667124194ad65a1d
parent625a3bf73204098012549299fac4967333f13104
gpiolib: Add support for the irqdomain which doesn't use irq_fwspec as arg

Some gpio's parent irqdomain may not use the struct irq_fwspec as
argument, such as msi irqdomain. So rename the callback
populate_parent_fwspec() to populate_parent_alloc_arg() and make it
allocate and populate the specific struct which is needed by the
parent irqdomain.

Signed-off-by: Kevin Hao <haokexin@gmail.com>
Link: https://lore.kernel.org/r/20200114082821.14015-3-haokexin@gmail.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-tegra186.c
drivers/gpio/gpiolib.c
drivers/pinctrl/qcom/pinctrl-spmi-gpio.c
drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c
include/linux/gpio/driver.h