diff options
| author | bui duc phuc <phucduc.bui@gmail.com> | 2026-08-07 15:16:52 +0700 |
|---|---|---|
| committer | Guenter Roeck <linux@roeck-us.net> | 2026-08-10 09:00:05 -0700 |
| commit | 1f3c3fa76ddbc2eb92b60c5d4db24d7f702a7811 (patch) | |
| tree | fa1e60029a1a1eecabda279f83b7d62709e02b46 /tools/perf/scripts/python | |
| parent | 553edb793e5be81a0d9bdb7b5aa2f9f1e0eb237b (diff) | |
watchdog: aspeed: 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://lore.kernel.org/r/20260807081652.38692-4-phucduc.bui@gmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
