X-Git-Url: https://rtime.felk.cvut.cz/gitweb/can-eth-gw-linux.git/blobdiff_plain/818b930bc15077fc00ff16bb22c5df1857f05afa..fd62c5450324af7f6cc12897b09b77285cd48a92:/drivers/input/input-mt.c diff --git a/drivers/input/input-mt.c b/drivers/input/input-mt.c index 475b9d424eed..8c4b50fd9a79 100644 --- a/drivers/input/input-mt.c +++ b/drivers/input/input-mt.c @@ -26,10 +26,14 @@ static void copy_abs(struct input_dev *dev, unsigned int dst, unsigned int src) * input_mt_init_slots() - initialize MT input slots * @dev: input device supporting MT events and finger tracking * @num_slots: number of slots used by the device + * @flags: mt tasks to handle in core * * This function allocates all necessary memory for MT slot handling * in the input device, prepares the ABS_MT_SLOT and * ABS_MT_TRACKING_ID events for use and sets up appropriate buffers. + * Depending on the flags set, it also performs pointer emulation and + * frame synchronization. + * * May be called repeatedly. Returns -EINVAL if attempting to * reinitialize with a different number of slots. */