diff options
| author | bui duc phuc <phucduc.bui@gmail.com> | 2026-08-07 17:29:30 +0700 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-08-12 19:47:41 +0100 |
| commit | 356d5869bc33abda94e3dc01eea2293363230efb (patch) | |
| tree | a6d9662fdbab00ae25a6c47a48fbb9b7b250d3c3 /tools/perf/scripts/python/task-analyzer.py | |
| parent | 32c55bfb29f24a3b8b0d2503d6e3317f531e9ca6 (diff) | |
spi: mtk-nor: Propagate errors from optional IRQ lookup
platform_get_irq_optional() returns a positive IRQ number on success or
a negative error code on failure. For an optional IRQ, -ENXIO indicates
that no IRQ is available, while other errors should be propagated.
Propagate errors such as -EPROBE_DEFER and -EINVAL instead of continuing
probe without the IRQ.
Signed-off-by: bui duc phuc <phucduc.bui@gmail.com>
Link: https://patch.msgid.link/20260807102932.45785-1-phucduc.bui@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions
