diff options
| author | bui duc phuc <phucduc.bui@gmail.com> | 2026-08-14 11:30:28 +0700 |
|---|---|---|
| committer | Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com> | 2026-09-01 17:53:39 +0200 |
| commit | 6e6e585b603e4f679c2a33c8f0954ec88b52fd7a (patch) | |
| tree | 1a0c8a22b18d4d634e3ed852cc8e7fd0666fe5dc /scripts/Makefile.thinlto | |
| parent | d8aaf6b0fdc835d10c7def7775803b28ebfd4d81 (diff) | |
| download | linux-next-6e6e585b603e4f679c2a33c8f0954ec88b52fd7a.tar.gz linux-next-6e6e585b603e4f679c2a33c8f0954ec88b52fd7a.zip | |
gpio: altera: 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.
Propagate negative errors other than -ENXIO.
Signed-off-by: bui duc phuc <phucduc.bui@gmail.com>
Link: https://patch.msgid.link/20260814043028.12548-4-phucduc.bui@gmail.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
