search for: input_mt_direct

Displaying 3 results from an estimated 3 matches for "input_mt_direct".

2020 Jan 02
2
[PATCH] virtio_input: Initialize multi-touch slots on ABS_MT_SLOT
...i, int abs) virtio_cread(vi->vdev, struct virtio_input_config, u.abs.flat, &fl); input_set_abs_params(vi->idev, abs, mi, ma, fu, fl); input_abs_set_res(vi->idev, abs, re); + + if (abs == ABS_MT_SLOT) + input_mt_init_slots(vi->idev, ma + 1, INPUT_MT_DIRECT | INPUT_MT_DROP_UNUSED); } static int virtinput_init_vqs(struct virtio_input *vi) -- 2.17.1 ---------------------------------------------------------------------- This transmission (including any attachments) may contain confidential information, privileged material (including material protect...
2020 Apr 15
0
[PATCH] virtio_input: Initialize multi-touch slots on ABS_MT_SLOT
...i, int abs) virtio_cread(vi->vdev, struct virtio_input_config, u.abs.flat, &fl); input_set_abs_params(vi->idev, abs, mi, ma, fu, fl); input_abs_set_res(vi->idev, abs, re); + + if (abs == ABS_MT_SLOT) + input_mt_init_slots(vi->idev, ma + 1, INPUT_MT_DIRECT | INPUT_MT_DROP_UNUSED); } static int virtinput_init_vqs(struct virtio_input *vi) -- 2.17.1 ________________________________ This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other a...
2020 Sep 09
17
[trivial PATCH] treewide: Convert switch/case fallthrough; to break;
...d/wacom_wac.c index 83dfec327c42..822dc15b59b6 100644 --- a/drivers/hid/wacom_wac.c +++ b/drivers/hid/wacom_wac.c @@ -3833,7 +3833,7 @@ int wacom_setup_touch_input_capabilities(struct input_dev *input_dev, case MTTPC_B: case TABLETPC2FG: input_mt_init_slots(input_dev, features->touch_max, INPUT_MT_DIRECT); - fallthrough; + break; case TABLETPC: case TABLETPCE: diff --git a/drivers/i2c/busses/i2c-i801.c b/drivers/i2c/busses/i2c-i801.c index e32ef3f01fe8..b13b1cbcac29 100644 --- a/drivers/i2c/busses/i2c-i801.c +++ b/drivers/i2c/busses/i2c-i801.c @@ -1785,7 +1785,7 @@ static int i801_probe(str...