aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-mxc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpio/gpio-mxc.c')
-rw-r--r--drivers/gpio/gpio-mxc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-mxc.c b/drivers/gpio/gpio-mxc.c
index 3307f6db3a92..db83b3c0a449 100644
--- a/drivers/gpio/gpio-mxc.c
+++ b/drivers/gpio/gpio-mxc.c
@@ -422,7 +422,7 @@ static int mxc_gpio_probe(struct platform_device *pdev)
422 port->irq_high = platform_get_irq(pdev, 1); 422 port->irq_high = platform_get_irq(pdev, 1);
423 port->irq = platform_get_irq(pdev, 0); 423 port->irq = platform_get_irq(pdev, 0);
424 if (port->irq < 0) 424 if (port->irq < 0)
425 return -EINVAL; 425 return port->irq;
426 426
427 /* disable the interrupt and clear the status */ 427 /* disable the interrupt and clear the status */
428 writel(0, port->base + GPIO_IMR); 428 writel(0, port->base + GPIO_IMR);