aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86/intel/pmt/class.c
diff options
context:
space:
mode:
authorHans de Goede <[email protected]>2021-08-02 14:10:00 +0000
committerHans de Goede <[email protected]>2021-08-06 12:04:43 +0000
commit085fc31f81765e061c78cdcab0e5516fd672bff7 (patch)
tree0145dfa23b3e7641318d80fb9de7fdc323f167e0 /drivers/platform/x86/intel/pmt/class.c
parentplatform/x86: Add and use a dual_accel_detect() helper (diff)
downloadkernel-085fc31f81765e061c78cdcab0e5516fd672bff7.tar.gz
kernel-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 <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/platform/x86/intel/pmt/class.c')
0 files changed, 0 insertions, 0 deletions