diff options
| author | bui duc phuc <phucduc.bui@gmail.com> | 2026-08-13 12:34:03 +0700 |
|---|---|---|
| committer | Ulf Hansson <ulfh@kernel.org> | 2026-09-08 17:26:33 +0200 |
| commit | 31a43e75e2d4b2b21fbd825a26550cbf6a3ba7b1 (patch) | |
| tree | 715dcb4debb6b445c0d1d131255359cc031d0905 /tools/perf/scripts/python/bin/flamegraph-report | |
| parent | b57cc4ec84a887e452ea2c7872a4eb13f03608e6 (diff) | |
mmc: davinci: Handle 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 optional IRQ is available. Other errors, such as -EPROBE_DEFER
and -EINVAL, should be propagated so that the caller can handle them
appropriately.
However, the driver currently stores the return value directly in
host->sdio_irq and continues probing.
Propagate negative errors other than -ENXIO.
Signed-off-by: bui duc phuc <phucduc.bui@gmail.com>
Signed-off-by: Ulf Hansson <ulfh@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/flamegraph-report')
0 files changed, 0 insertions, 0 deletions
