projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c46654
)
touchscreen ctp_it7250: use irq pin define in board_raho.c
author
lyx
<lyx@rock-chips.com>
Wed, 25 Aug 2010 02:28:13 +0000
(19:28 -0700)
committer
lyx
<lyx@rock-chips.com>
Wed, 25 Aug 2010 02:28:13 +0000
(19:28 -0700)
drivers/input/touchscreen/ctp_it7250.c
[changed mode: 0644->0755]
patch
|
blob
|
history
diff --git
a/drivers/input/touchscreen/ctp_it7250.c
b/drivers/input/touchscreen/ctp_it7250.c
old mode 100644
(file)
new mode 100755
(executable)
index
cc979aa
..
5d10944
--- a/
drivers/input/touchscreen/ctp_it7250.c
+++ b/
drivers/input/touchscreen/ctp_it7250.c
@@
-37,8
+37,6
@@
struct Ctp_it7250_data {
};
\r
static struct i2c_client *Ctp_it7250_client;
\r
\r
-#define Ctp_it7250_GPIO_INT RK2818_PIN_PE1
\r
-
\r
#if 0
\r
#define rk28printk(x...) printk(x)
\r
#else
\r
@@
-806,7
+804,7
@@
static void Ctp_it7250_delaywork_func(struct work_struct *work)
// rk28printk("%s++++ %d \r\n",__FUNCTION__,__LINE__);
\r
\r
\r
- PE1status = gpio_get_value(Ctp_it7250
_GPIO_INT
);
\r
+ PE1status = gpio_get_value(Ctp_it7250
->client->irq
);
\r
// PE1status ΪµÍ£¬±íʾµÍµçƽÖжÏÓÐЧ
\r
if (!PE1status)
\r
{
\r