gpiolib: Add the support for the msi parent domain
authorKevin Hao <haokexin@gmail.com>
Tue, 14 Jan 2020 08:28:20 +0000 (16:28 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 15 Jan 2020 10:18:05 +0000 (11:18 +0100)
commit880b7cf22e8ca08abd969b0f1c65a79121e025c5
tree4604f6f8a618068822428ec2d70ad47e1dd7ff2e
parent242587616710576808dc8d7cdf18cfe0d7bf9831
gpiolib: Add the support for the msi parent domain

If the gpio's parent irqdomain is a msi irqdomain, we should ignore
the EEXIST error returned by the msi irqdomain because all the msi
interrupts have already been allocated.

Signed-off-by: Kevin Hao <haokexin@gmail.com>
Link: https://lore.kernel.org/r/20200114082821.14015-4-haokexin@gmail.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpiolib.c