mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 12:17:12 +09:00
touchscreen ctp_it7250: use irq pin define in board_raho.c
This commit is contained in:
4
drivers/input/touchscreen/ctp_it7250.c
Normal file → Executable file
4
drivers/input/touchscreen/ctp_it7250.c
Normal file → Executable file
@@ -37,8 +37,6 @@ struct Ctp_it7250_data {
|
||||
};
|
||||
static struct i2c_client *Ctp_it7250_client;
|
||||
|
||||
#define Ctp_it7250_GPIO_INT RK2818_PIN_PE1
|
||||
|
||||
#if 0
|
||||
#define rk28printk(x...) printk(x)
|
||||
#else
|
||||
@@ -806,7 +804,7 @@ static void Ctp_it7250_delaywork_func(struct work_struct *work)
|
||||
// rk28printk("%s++++ %d \r\n",__FUNCTION__,__LINE__);
|
||||
|
||||
|
||||
PE1status = gpio_get_value(Ctp_it7250_GPIO_INT);
|
||||
PE1status = gpio_get_value(Ctp_it7250->client->irq);
|
||||
// PE1status Ϊ<>ͣ<EFBFBD><CDA3><EFBFBD>ʾ<EFBFBD>͵<EFBFBD>ƽ<EFBFBD>ж<EFBFBD><D0B6><EFBFBD>Ч
|
||||
if (!PE1status)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user