diff options
author | Hans de Goede <hdegoede@redhat.com> | 2023-09-15 23:49:33 +0200 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2023-09-21 18:31:18 +0200 |
commit | 45ae16ec3a3d63375cd95317af66b844661e86c4 (patch) | |
tree | a9afe2ce5dcf98ee199d0465d0729aa5523a09d8 /drivers/platform/surface/surface3-wmi.c | |
parent | 318d97849fc2cb45b2238fdb9eaa714b5d669df5 (diff) |
platform/x86: x86-android-tablets: Fix Lenovo Yoga Tablet 2 830F/L vs 1050F/L detection
gpio_crystalcove pin 10 is already in input mode and passing GPIOD_IN
when requesting the GPIO changes its pull-up/-down settings causing
the 830F/L to get misdetected as 1050F/L.
Switch to using GPIOD_ASIS when requesting the GPIO to fix
the misdetection.
Fixes: 4014ae236b1d ("platform/x86: x86-android-tablets: Stop using gpiolib private APIs")
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20230915214933.62595-1-hdegoede@redhat.com
Diffstat (limited to 'drivers/platform/surface/surface3-wmi.c')
0 files changed, 0 insertions, 0 deletions