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: 21abf10381
("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>
This commit is contained in:
parent
4bc16f9dd7
commit
d6543c0f39
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue