diff options
author | Ben Walsh <[email protected]> | 2024-06-05 07:33:49 +0100 |
---|---|---|
committer | Tzung-Bi Shih <[email protected]> | 2024-06-06 03:11:51 +0000 |
commit | 040159e0912c31fe959d8671f9700bda105ab63a (patch) | |
tree | e398299f5538c44f5ce53ea251662e48e78edfd2 /lib/memory-notifier-error-inject.c | |
parent | 60c7df66450e3a7821a8d68496c20c95de6a15c5 (diff) |
platform/chrome: cros_ec_lpc: Add a new quirk for ACPI id
Framework Laptops' ACPI exposes the EC with id "PNP0C09". But
"PNP0C09" is part of the ACPI standard; there are lots of computers
with EC chips with this id, and most of them don't support the cros_ec
protocol.
The driver could find the ACPI device by having "PNP0C09" in the
acpi_match_table, but this would match devices which don't support the
cros_ec protocol. Instead, add a new quirk "CROS_EC_LPC_QUIRK_ACPI_ID"
which allows the id to be specified. This quirk is applied after the
DMI check shows that the device is supported.
Tested-by: Dustin L. Howett <[email protected]>
Signed-off-by: Ben Walsh <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Tzung-Bi Shih <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions