summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorHans de Goede <johannes.goede@oss.qualcomm.com>2026-09-08 20:55:17 +0200
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>2026-09-08 22:00:55 +0300
commitdd519eb8f66eaa205bbbdcb753588138a1d18414 (patch)
tree035bed4cf3bc3ad0718a88997f5fe210710bcdb0 /scripts/Makefile.thinlto
parent312fd3f3a85b89aa0d4fb5417043d640daa3732c (diff)
downloadlinux-dd519eb8f66eaa205bbbdcb753588138a1d18414.tar.gz
linux-dd519eb8f66eaa205bbbdcb753588138a1d18414.zip
platform/x86: x86-android-tablets: fix gpio_secondary_fwnode_init() not working
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: 1448c2d2ca5c ("platform/x86: x86-android-tablets: enable fwnode matching of GPIO chips") Reviewed-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Signed-off-by: Hans de Goede <johannes.goede@oss.qualcomm.com> Link: https://patch.msgid.link/20260908185517.49047-1-johannes.goede@oss.qualcomm.com Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions