diff options
author | Hans de Goede <hdegoede@redhat.com> | 2021-11-28 20:00:31 +0100 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2021-12-07 12:21:01 +0100 |
commit | 1c5ec99891bb6a2d5487b9ab7c259698a601b95c (patch) | |
tree | a045dd828ff965702f5423e46694c2af085a4d6d /net/ipv6/ip6_tunnel.c | |
parent | c0549b72d99df4616632b6b7dd0e82c6bf49b021 (diff) |
platform/x86: lenovo-yogabook-wmi: Add support for hall sensor on the back
On the back of the device there is a Hall sensor connected to the
"INT33FF:02" GPIO controller pin 18, which gets triggered when the
device is fully folded into tablet-mode (when the back of the display
touches the back of the keyboard).
Use this to disable both the touch-keyboard and the digitizer when
the tablet is fully folded into tablet-mode.
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20211128190031.405620-5-hdegoede@redhat.com
Diffstat (limited to 'net/ipv6/ip6_tunnel.c')
0 files changed, 0 insertions, 0 deletions