Re: [PATCH V2] virtio_input: Prevent EV_MSC/MSC_TIMESTAMP loop storm for MT.

2021-02-03 Thread Gerd Hoffmann
Hi, > + /* > + * Since 29cc309d8bf1 (HID: hid-multitouch: forward MSC_TIMESTAMP), > + * EV_MSC/MSC_TIMESTAMP is added to each before EV_SYN event. > + * EV_MSC is configured as INPUT_PASS_TO_ALL. > + * In case of touch device: > + * BE pass EV_MSC/MSC_TIMESTAMP to

[PATCH V2] virtio_input: Prevent EV_MSC/MSC_TIMESTAMP loop storm for MT.

2021-02-01 Thread Colin Xu
In 'commit 29cc309d8bf1 ("HID: hid-multitouch: forward MSC_TIMESTAMP")', EV_MSC/MSC_TIMESTAMP is added to each before EV_SYN event. EV_MSC is configured as INPUT_PASS_TO_ALL. In case of a touch device which report MSC_TIMESTAMP: BE pass EV_MSC/MSC_TIMESTAMP to FE on receiving event from evdev.