diff options
| author | bui duc phuc <phucduc.bui@gmail.com> | 2026-08-07 15:16:50 +0700 |
|---|---|---|
| committer | Guenter Roeck <linux@roeck-us.net> | 2026-08-10 09:00:05 -0700 |
| commit | 7528abb5154ad18d18315b80fded00eb903d35cc (patch) | |
| tree | b4a6ff61c6b4fd4b894ea707ed38a30f2be75aea /tools/perf/scripts/python/flamegraph.py | |
| parent | 799ef16e4607ba9ebc7fa2ca7d984940481fb79a (diff) | |
watchdog: mediatek: 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.
Instead of only checking for -EPROBE_DEFER, propagate all error codes
returned by platform_get_irq_optional() other than -ENXIO, so that
failures are properly reported to the caller.
Signed-off-by: bui duc phuc <phucduc.bui@gmail.com>
Link: https://lore.kernel.org/r/20260807081652.38692-2-phucduc.bui@gmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
