author: Hans de Goede <hdegoede@redhat.com> 2021-08-02 16:10:00 +0200
committer: Greg Kroah-Hartman <gregkh@linuxfoundation.org> 2021-09-03 10:23:08 +0200
commit: 49da19a8538335d7721bcc02b830221daef840b0
parent: 4e25ac3793f76aec260a7158f5d897133afd70da
Commit Summary:
Diffstat:
1 file changed, 2 insertions, 1 deletion
diff --git a/drivers/platform/x86/dual_accel_detect.h b/drivers/platform/x86/dual_accel_detect.h
index 1a069159da91..a9eae17cc43d 100644
--- a/drivers/platform/x86/dual_accel_detect.h
+++ b/drivers/platform/x86/dual_accel_detect.h
@@ -60,7 +60,8 @@ static bool dual_accel_detect_bosc0200(void)
static bool dual_accel_detect(void)
{
/* Systems which use a pair of accels with KIOX010A / KIOX020A ACPI ids */
- if (acpi_dev_present("KIOX010A", NULL, -1))
+ if (acpi_dev_present("KIOX010A", NULL, -1) &&
+ acpi_dev_present("KIOX020A", NULL, -1))
return true;
/* Systems which use a single DUAL250E ACPI device to model 2 accels */