touch: goodix: set parent of touch device
Set parent of touch device so that input device node path can be obtained by TUI App from /proc/bus/input. Change-Id: If3cc14e8d2ae64ff0d8f62ab523c089b9b0dd74a Signed-off-by: Raviteja Tamatam <quic_travitej@quicinc.com>
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

parent
9569e9059c
commit
536392bcad
@@ -1470,6 +1470,7 @@ static int goodix_ts_input_dev_config(struct goodix_ts_core *core_data)
|
||||
input_dev->id.product = 0xDEAD;
|
||||
input_dev->id.vendor = 0xBEEF;
|
||||
input_dev->id.version = 10427;
|
||||
input_dev->dev.parent = core_data->bus->dev;
|
||||
|
||||
set_bit(EV_SYN, input_dev->evbit);
|
||||
set_bit(EV_KEY, input_dev->evbit);
|
||||
|
Reference in New Issue
Block a user