linux/drivers/platform/x86/x86-android-tablets
Hans de Goede 45ae16ec3a 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: 4014ae236b ("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
2023-09-21 18:31:18 +02:00
..
asus.c platform/x86: x86-android-tablets: Stop using gpiolib private APIs 2023-09-11 13:28:58 +02:00
core.c platform/x86: x86-android-tablets: Add a comment about x86_android_tablet_get_gpiod() 2023-09-12 10:16:25 +02:00
dmi.c platform/x86: x86-android-tablets: Add support for extra buttons on Cyberbook T116 2023-05-09 11:54:43 +02:00
Kconfig platform/x86: x86-android-tablets: Add depends on PMIC_OPREGION 2023-03-16 14:40:39 +01:00
lenovo.c platform/x86: x86-android-tablets: Fix Lenovo Yoga Tablet 2 830F/L vs 1050F/L detection 2023-09-21 18:31:18 +02:00
Makefile platform/x86: x86-android-tablets: Move remaining tablets to other.c 2023-03-07 12:08:31 +01:00
other.c platform/x86: x86-android-tablets: Stop using gpiolib private APIs 2023-09-11 13:28:58 +02:00
shared-psy-info.c platform/x86: x86-android-tablets: Move shared power-supply fw-nodes to a separate file 2023-03-07 12:08:31 +01:00
shared-psy-info.h platform/x86: x86-android-tablets: Move shared power-supply fw-nodes to a separate file 2023-03-07 12:08:31 +01:00
x86-android-tablets.h platform/x86: x86-android-tablets: Stop using gpiolib private APIs 2023-09-11 13:28:58 +02:00