mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-11 05:17:10 +09:00
ODROID-COMMON:touchscreen gpio interrupt for amlogic INTC
Signed-off-by: ckkim <changkon12@gmail.com> Change-Id: I013b0640fd9d32f641170562829d05bb9336772b
This commit is contained in:
@@ -741,6 +741,11 @@ static int goodix_ts_probe(struct i2c_client *client,
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef CONFIG_ARCH_MESON64_ODROID_COMMON
|
||||
client->irq = gpiod_to_irq(ts->gpiod_int);
|
||||
if (client->irq)
|
||||
dev_info(&client->dev, "GT911 irq number : %d\n", client->irq);
|
||||
#endif
|
||||
error = goodix_i2c_test(client);
|
||||
if (error) {
|
||||
dev_err(&client->dev, "I2C communication failure: %d\n", error);
|
||||
|
||||
Reference in New Issue
Block a user