Skip to content

Commit dadf1fd

Browse files
linuswdtor
authored andcommitted
Input: cyttsp - flag the device properly
This device is certainly a very simple touchscreen so we set INPUT_MT_DIRECT. Reviewed-by: Javier Martinez Canillas <[email protected]> Signed-off-by: Linus Walleij <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Dmitry Torokhov <[email protected]>
1 parent ddfe7e1 commit dadf1fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/input/touchscreen/cyttsp_core.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -657,7 +657,7 @@ struct cyttsp *cyttsp_probe(const struct cyttsp_bus_ops *bus_ops,
657657

658658
touchscreen_parse_properties(input_dev, true, NULL);
659659

660-
error = input_mt_init_slots(input_dev, CY_MAX_ID, 0);
660+
error = input_mt_init_slots(input_dev, CY_MAX_ID, INPUT_MT_DIRECT);
661661
if (error) {
662662
dev_err(dev, "Unable to init MT slots.\n");
663663
return ERR_PTR(error);

0 commit comments

Comments
 (0)