aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/controller/dwc/pci-meson.c
diff options
context:
space:
mode:
authorHans de Goede <[email protected]>2023-06-16 17:21:32 +0000
committerHans de Goede <[email protected]>2023-06-20 10:39:34 +0000
commit899c7b18ef01bcc5c01bd9cfbd6ae837bc5aad5b (patch)
tree71b33fb91ae65185c09bf21ee4cc5c850db4218a /drivers/pci/controller/dwc/pci-meson.c
parentplatform/x86: int3472: discrete: Use FIELD_GET() on the GPIO _DSM return value (diff)
downloadkernel-899c7b18ef01bcc5c01bd9cfbd6ae837bc5aad5b.tar.gz
kernel-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 <[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 'drivers/pci/controller/dwc/pci-meson.c')
0 files changed, 0 insertions, 0 deletions