diff options
author | davidycchen <davidycchen@google.com> | 2021-08-05 09:51:34 +0800 |
---|---|---|
committer | davidycchen <davidycchen@google.com> | 2021-08-05 09:51:34 +0800 |
commit | 19eafaf8e93b4517446747e3e76dec87196e2ca5 (patch) | |
tree | 4d9871acabf1b18a0890262f76e92bbe8f23dd61 | |
parent | debbe1aacd0ae579c0aef6dd28359486b402a106 (diff) | |
download | fts_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.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; |