]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: omap1: Fix new user of gpiochip_request_own_desc()
authorLinus Walleij <linus.walleij@linaro.org>
Sat, 15 Dec 2018 11:50:59 +0000 (12:50 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 17 Dec 2018 22:05:41 +0000 (23:05 +0100)
This fixes up a new user of gpiochip_request_own_desc() in
the AMS Delta board that appeared after the patch that was
applied recently.

Fixes: 21abf103818a ("gpio: Pass a flag to gpiochip_request_own_desc()")
Reviewed-by: Janusz Krzysztofik <jmkrzyszt@gmail.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/mach-omap1/board-ams-delta.c

index 6719e139eb62ea6b9ebdc0365a1a6b532f147fbe..b53ff6399d312a7937cb783cfc00ab223422e1cb 100644 (file)
@@ -603,7 +603,7 @@ static void __init modem_assign_irq(struct gpio_chip *chip)
        struct gpio_desc *gpiod;
 
        gpiod = gpiochip_request_own_desc(chip, AMS_DELTA_GPIO_PIN_MODEM_IRQ,
-                                         "modem_irq");
+                                         "modem_irq", 0);
        if (IS_ERR(gpiod)) {
                pr_err("%s: modem IRQ GPIO request failed (%ld)\n", __func__,
                       PTR_ERR(gpiod));