diff options
| author | Andy Shevchenko <[email protected]> | 2019-10-11 13:22:58 +0300 |
|---|---|---|
| committer | Andy Shevchenko <[email protected]> | 2019-10-15 10:55:10 +0300 |
| commit | d17f1bbb3aa9631429fa0fe325ad12661d6b226b (patch) | |
| tree | 42868c80497f2c4c52b48acdd598ac4714417a2b /tools/perf/scripts/python/powerpc-hcalls.py | |
| parent | da5fb83fb8dc5f95d4ab3a9f4641821fab34ce58 (diff) | |
platform/x86: i2c-multi-instantiate: Fail the probe if no IRQ provided
For APIC case of interrupt we don't fail a ->probe() of the driver,
which makes kernel to print a lot of warnings from the children.
We have two options here:
- switch to platform_get_irq_optional(), though it won't stop children
to be probed and failed
- fail the ->probe() of i2c-multi-instantiate
Since the in reality we never had devices in the wild where IRQ resource
is optional, the latter solution suits the best.
Fixes: 799d3379a672 ("platform/x86: i2c-multi-instantiate: Introduce IOAPIC IRQ support")
Reported-by: Ammy Yi <[email protected]>
Cc: Heikki Krogerus <[email protected]>
Cc: Hans de Goede <[email protected]>
Signed-off-by: Andy Shevchenko <[email protected]>
Reviewed-by: Heikki Krogerus <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/powerpc-hcalls.py')
0 files changed, 0 insertions, 0 deletions