summaryrefslogtreecommitdiffstats
path: root/rust/bindings
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2023-06-16 19:21:32 +0200
committerHans de Goede <hdegoede@redhat.com>2023-06-20 12:39:34 +0200
commit899c7b18ef01bcc5c01bd9cfbd6ae837bc5aad5b (patch)
tree71b33fb91ae65185c09bf21ee4cc5c850db4218a /rust/bindings
parent45eaf2e2b8bc9bf4beaa30918a25690ae105a913 (diff)
downloadlinux-stable-899c7b18ef01bcc5c01bd9cfbd6ae837bc5aad5b.tar.gz
linux-stable-899c7b18ef01bcc5c01bd9cfbd6ae837bc5aad5b.tar.bz2
linux-stable-899c7b18ef01bcc5c01bd9cfbd6ae837bc5aad5b.zip
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 <dan.scally@ideasonboard.com> Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Link: https://lore.kernel.org/r/20230616172132.37859-7-hdegoede@redhat.com
Diffstat (limited to 'rust/bindings')
0 files changed, 0 insertions, 0 deletions