]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: xlp: Fix vulcan IRQ descriptor allocation
authorKamlakant Patel <kamlakant.patel@broadcom.com>
Sun, 5 Jun 2016 08:30:43 +0000 (14:00 +0530)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 8 Jun 2016 08:52:49 +0000 (10:52 +0200)
commit7bc8bfcd61037f43ab631ebeccedda9ad16cc95c
tree3cb9f97f14ec1ab71c0d5dcad76780a48303671a
parentd6beaba2a038aa9b992dedb212ff47aa52dc7292
gpio: xlp: Fix vulcan IRQ descriptor allocation

irq_alloc_descs need not be called in case of Vulcan, where we use
a dynamic IRQ range for GPIO interrupt numbers.

Update code not to call irq_alloc_descs and pass 0 as irq_base in
case of Vulcan.

Signed-off-by: Kamlakant Patel <kamlakant.patel@broadcom.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-xlp.c