diff options
author | Hans de Goede <[email protected]> | 2024-11-04 21:08:47 +0100 |
---|---|---|
committer | Ilpo Järvinen <[email protected]> | 2024-11-06 15:16:47 +0200 |
commit | 5b78e809f94840fa45173cd3e34bbe815c6865b4 (patch) | |
tree | 5c6ec613b516d005dfd5179cea6f341fd8a55f9f /tools/perf/scripts/python/syscall-counts.py | |
parent | 01fbfcb3acbb2e4fd34bf36a87c75299a85a0cf9 (diff) |
platform/x86: x86-android-tablets: Add support for getting i2c_adapter by PCI parent devname()
On the Vexia EDU ATLA 10 tablet, which ships with Android + a custom Linux
(guadalinex) using the custom Android kernel the I2C controllers are not
enumerated as ACPI devices as they typically are.
Instead they are enumerated as PCI devices which do not have ACPI firmware
nodes associated with them, so getting the i2c_adapter by the ACPI path of
its firmware node does not work.
Add support for getting the i2c_adapter by the devname() of its PCI parent
instead.
Signed-off-by: Hans de Goede <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Ilpo Järvinen <[email protected]>
Signed-off-by: Ilpo Järvinen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions