Message ID | AANLkTik1jPRkifN4Utuow2rztKrwZKOSx-hwg97sw_Wq@mail.gmail.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
diff --git a/drivers/input/touchscreen/ads7846.c b/drivers/input/touchscreen/ads7846.c index 532279c..226dbdc 100644 --- a/drivers/input/touchscreen/ads7846.c +++ b/drivers/input/touchscreen/ads7846.c @@ -872,6 +872,8 @@ static int __devinit setup_pendown(struct spi_device *spi, struct ads7846 *ts) return err; } + gpio_direction_input(pdata->gpio_pendown); + ts->gpio_pendown = pdata->gpio_pendown; return 0;