diff options
author | Barnabás Pőcze <pobrn@protonmail.com> | 2021-02-03 21:56:22 +0000 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2021-02-04 10:21:20 +0100 |
commit | b3ed1b7fe3786c8fe795c16ca07cf3bda67b652f (patch) | |
tree | 6f8a6c07d07d7516339a129c0a8f0e2da2be97b1 /kernel/ptrace.c | |
parent | 392cbf0a42777bb08153c76dfd0cb8c575bd6f10 (diff) |
platform/x86: ideapad-laptop: check for touchpad support in _CFG
Bit 30 of _CFG is set if the device has a touchpad, check that
in is_visible() for the touchpad attribute. Show 'touchpad', if
supported, in the list of capabilities in the 'cfg' debugfs file.
Signed-off-by: Barnabás Pőcze <pobrn@protonmail.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/20210203215403.290792-21-pobrn@protonmail.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'kernel/ptrace.c')
0 files changed, 0 insertions, 0 deletions