summaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86/intel/pmt/class.c
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2021-08-02 16:10:00 +0200
committerHans de Goede <hdegoede@redhat.com>2021-08-06 14:04:43 +0200
commit085fc31f81765e061c78cdcab0e5516fd672bff7 (patch)
tree0145dfa23b3e7641318d80fb9de7fdc323f167e0 /drivers/platform/x86/intel/pmt/class.c
parent153cca9caa81ca8912a70528daca4b9a523c6898 (diff)
downloadlinux-085fc31f81765e061c78cdcab0e5516fd672bff7.tar.gz
linux-085fc31f81765e061c78cdcab0e5516fd672bff7.tar.bz2
linux-085fc31f81765e061c78cdcab0e5516fd672bff7.zip
platform/x86: Make dual_accel_detect() KIOX010A + KIOX020A detect more robust
360 degree hinges devices with dual KIOX010A + KIOX020A accelerometers always have both a KIOX010A and a KIOX020A ACPI device (one for each accel). Theoretical some vendor may re-use some DSDT for a non-convertible stripping out just the KIOX020A ACPI device from the DSDT. Check that both ACPI devices are present to make the check more robust. Fixes: 153cca9caa81 ("platform/x86: Add and use a dual_accel_detect() helper") Signed-off-by: Hans de Goede <hdegoede@redhat.com> Link: https://lore.kernel.org/r/20210802141000.978035-1-hdegoede@redhat.com
Diffstat (limited to 'drivers/platform/x86/intel/pmt/class.c')
0 files changed, 0 insertions, 0 deletions