diff options
author | Andy Shevchenko <[email protected]> | 2023-07-03 15:14:08 +0300 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2023-07-04 19:28:20 +0200 |
commit | cefbd80bf52c791fede129ab5cf8be6ed9e8ce38 (patch) | |
tree | e8a9f9335f6e8d6b4e5b02aade1d622937d789f2 /tools/perf/util/trace-event-scripting.c | |
parent | 2b5ae9604949391da6661eab0a854de4ecd140f6 (diff) |
ACPI: platform: Ignore SMB0001 only when it has resources
After switching i2c-scmi driver to be a platform one, it stopped
being enumerated on number of Kontron platforms, because it's
listed in the forbidden_id_list.
To resolve the situation, add a flag to driver data to allow devices
with no resources in _CRS to be enumerated via platform bus.
Fixes: 03d4287add6e ("i2c: scmi: Convert to be a platform driver")
Closes: https://lore.kernel.org/r/[email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Andy Shevchenko <[email protected]>
Reviewed-by: Andi Shyti <[email protected]>
[ rjw: Move has_resource definition to the block in which it is used and
initialize it to 'false' ]
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions