diff options
Diffstat (limited to 'drivers/video/omap2/displays/panel-taal.c')
-rw-r--r-- | drivers/video/omap2/displays/panel-taal.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/video/omap2/displays/panel-taal.c b/drivers/video/omap2/displays/panel-taal.c index 00c5c615585f..0f21fa5a16ae 100644 --- a/drivers/video/omap2/displays/panel-taal.c +++ b/drivers/video/omap2/displays/panel-taal.c | |||
@@ -1019,14 +1019,12 @@ static int taal_probe(struct omap_dss_device *dssdev) | |||
1019 | if (panel_data->use_ext_te) { | 1019 | if (panel_data->use_ext_te) { |
1020 | int gpio = panel_data->ext_te_gpio; | 1020 | int gpio = panel_data->ext_te_gpio; |
1021 | 1021 | ||
1022 | r = gpio_request(gpio, "taal irq"); | 1022 | r = gpio_request_one(gpio, GPIOF_IN, "taal irq"); |
1023 | if (r) { | 1023 | if (r) { |
1024 | dev_err(&dssdev->dev, "GPIO request failed\n"); | 1024 | dev_err(&dssdev->dev, "GPIO request failed\n"); |
1025 | goto err_gpio; | 1025 | goto err_gpio; |
1026 | } | 1026 | } |
1027 | 1027 | ||
1028 | gpio_direction_input(gpio); | ||
1029 | |||
1030 | r = request_irq(gpio_to_irq(gpio), taal_te_isr, | 1028 | r = request_irq(gpio_to_irq(gpio), taal_te_isr, |
1031 | IRQF_TRIGGER_RISING, | 1029 | IRQF_TRIGGER_RISING, |
1032 | "taal vsync", dssdev); | 1030 | "taal vsync", dssdev); |