aboutsummaryrefslogtreecommitdiff
path: root/drivers/platform/surface/aggregator/controller.c
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2021-05-23 19:23:31 +0200
committerHans de Goede <hdegoede@redhat.com>2021-06-16 17:47:50 +0200
commitab66724a230937982d58711302f51aa9b569a5c0 (patch)
tree184e4643ba1dae8191d1ad41eeba511f42400ca2 /drivers/platform/surface/aggregator/controller.c
parentb6c3c6ff2043c6519b5be38ac259752d19f4a5f9 (diff)
downloadlinux-ab66724a230937982d58711302f51aa9b569a5c0.tar.gz
linux-ab66724a230937982d58711302f51aa9b569a5c0.tar.bz2
linux-ab66724a230937982d58711302f51aa9b569a5c0.zip
platform/x86: ideapad-laptop: Ignore VPC event bit 10
VPC event bit 10 gets set on a Yoga 300-11IBR when the EC believes that the device has changed between laptop/tent/stand/tablet mode. The EC relies on getting angle info from 2 accelerometers through a special windows service calling a DSM on the DUAL250E ACPI-device. Linux does not do this, making the laptop/tent/stand/tablet mode info unreliable. Ignore VPC event bit 10 to avoid the warnings triggered by the default case in ideapad_acpi_notify(). Note that the plan for Linux is to have iio-sensor-proxy read the 2 accelerometers and have it provide info about which mode 360° hinges 2-in-1s to the rest of userspace: https://gitlab.freedesktop.org/hadess/iio-sensor-proxy/-/issues/216 Signed-off-by: Hans de Goede <hdegoede@redhat.com> Link: https://lore.kernel.org/r/20210523172331.177834-1-hdegoede@redhat.com
Diffstat (limited to 'drivers/platform/surface/aggregator/controller.c')
0 files changed, 0 insertions, 0 deletions