mirror of
https://github.com/torvalds/linux.git
synced 2026-09-25 17:42:03 +02:00
acpi_bus_find_device_by_name() call returns a pointer to the device object
on the ACPI bus, aka the ACPI companion device.
gpio_secondary_fwnode_init() then continues with setting the secondary
fwnode on this device. But this is not the actual physical device for
the GPIO controller (e.g. the GPIO controller platform bus device).
This mismatch is causing GPIO lookups by secondary fwnode to not work.
Modify gpio_secondary_fwnode_init() to instead set the secondary fwnode
of the first physical device associated with the ACPI companion device.
This fixes the GPIO lookups not working.
Fixes:
|
||
|---|---|---|
| .. | ||
| acer.c | ||
| asus.c | ||
| core.c | ||
| dmi.c | ||
| Kconfig | ||
| lenovo.c | ||
| Makefile | ||
| other.c | ||
| shared-psy-info.c | ||
| shared-psy-info.h | ||
| vexia_atla10_ec.c | ||
| x86-android-tablets.h | ||