diff options
author | Hans de Goede <[email protected]> | 2023-06-16 19:21:32 +0200 |
---|---|---|
committer | Hans de Goede <[email protected]> | 2023-06-20 12:39:34 +0200 |
commit | 899c7b18ef01bcc5c01bd9cfbd6ae837bc5aad5b (patch) | |
tree | 71b33fb91ae65185c09bf21ee4cc5c850db4218a /scripts/mod/file2alias.c | |
parent | 45eaf2e2b8bc9bf4beaa30918a25690ae105a913 (diff) |
platform/x86: int3472: discrete: Log a warning if the pin-numbers don't match
The INT3472 discrete code assumes that the ACPI GPIO resources are
in the same order as the pin-info _DSM entries.
The returned pin-info includes the pin-number in bits 15-8. Add a check
that this matches with the ACPI GPIO resource pin-number in case
the assumption is not true with some ACPI tables.
Reviewed-by: Daniel Scally <[email protected]>
Reviewed-by: Ilpo Järvinen <[email protected]>
Signed-off-by: Hans de Goede <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/mod/file2alias.c')
0 files changed, 0 insertions, 0 deletions