Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d6543c0f authored by Linus Walleij's avatar Linus Walleij
Browse files

ARM: omap1: Fix new user of gpiochip_request_own_desc()



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: 21abf103 ("gpio: Pass a flag to gpiochip_request_own_desc()")
Reviewed-by: default avatarJanusz Krzysztofik <jmkrzyszt@gmail.com>
Acked-by: default avatarTony Lindgren <tony@atomide.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 4bc16f9d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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));