]> git.baikalelectronics.ru Git - kernel.git/commit
Input: ads7846 - introduce .gpio_pendown to get pendown state
authorEric Miao <eric.y.miao@gmail.com>
Wed, 10 Sep 2008 16:06:15 +0000 (12:06 -0400)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 10 Sep 2008 16:13:28 +0000 (12:13 -0400)
commit28c394f548dd8f1350f78465bf568d52c53d9c2d
treed1bc92acac3db21a5e92795ed7802f3776acb0bd
parent87310ae9d13fdf1c425e74ceabf786adb43c212f
Input: ads7846 - introduce .gpio_pendown to get pendown state

The GPIO connected to ADS7846 nPENIRQ signal is usually used to get
the pendown state as well. Introduce a .gpio_pendown, and use this
to decide the pendown state if .get_pendown_state is NULL.

Signed-off-by: Eric Miao <eric.miao@marvell.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/touchscreen/ads7846.c
include/linux/spi/ads7846.h