summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorbui duc phuc <phucduc.bui@gmail.com>2026-08-07 15:04:47 +0700
committerGuenter Roeck <linux@roeck-us.net>2026-08-10 09:00:05 -0700
commit553edb793e5be81a0d9bdb7b5aa2f9f1e0eb237b (patch)
treeec414e22e5c3ab30d3ff4faa4aa9c1ead9578edd /tools/perf/scripts/python
parentac4bf51d4dc5343793587bfa8dc91a9089c622f8 (diff)
watchdog: stm32_iwdg: 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/20260807080447.35479-2-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