summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordavidycchen <davidycchen@google.com>2021-08-05 09:51:34 +0800
committerdavidycchen <davidycchen@google.com>2021-08-05 09:51:34 +0800
commit19eafaf8e93b4517446747e3e76dec87196e2ca5 (patch)
tree4d9871acabf1b18a0890262f76e92bbe8f23dd61
parentdebbe1aacd0ae579c0aef6dd28359486b402a106 (diff)
downloadfts_touch-19eafaf8e93b4517446747e3e76dec87196e2ca5.tar.gz
touch: fst2: add input device unique ID
Add the unique ID to let input device to associate with specific display. Bug: 193085179 Signed-off-by: davidycchen <davidycchen@google.com> Change-Id: I9d1f819b225a3053fd950e64fc381b9e5f4140ab
-rw-r--r--fst2/fts.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fst2/fts.c b/fst2/fts.c
index 2e9b797..b1820e9 100644
--- a/fst2/fts.c
+++ b/fst2/fts.c
@@ -1235,6 +1235,7 @@ static int fts_probe(struct spi_device *client)
snprintf(fts_ts_phys, sizeof(fts_ts_phys), "%s/input0",
info->input_dev->name);
info->input_dev->phys = fts_ts_phys;
+ info->input_dev->uniq = "fts";
info->input_dev->id.bustype = bus_type;
info->input_dev->id.vendor = 0x0001;
info->input_dev->id.product = 0x0002;