Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Input: tsc2004/5 - respect "wakeup-source" property

Do not mark the device as wakeup-enabled by default, respect the
standard "wakeup-source" property.

Link: https://lore.kernel.org/r/20240711172719.1248373-5-dmitry.torokhov@gmail.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>

+2 -1
+2 -1
drivers/input/touchscreen/tsc200x-core.c
··· 562 562 return error; 563 563 } 564 564 565 - device_init_wakeup(dev, true); 565 + device_init_wakeup(dev, 566 + device_property_read_bool(dev, "wakeup-source")); 566 567 567 568 return 0; 568 569 }