diff options
| author | Johan Hovold <johan@kernel.org> | 2026-04-23 09:58:01 +0200 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-04-27 06:50:27 +0900 |
| commit | 76645c1fd682c9df746c3f7c149b868ceff914fb (patch) | |
| tree | f0c22a84455edcd6acf467500490c4b033284790 /include/linux/timerqueue.h | |
| parent | 254f49634ee16a731174d2ae34bc50bd5f45e731 (diff) | |
spi: mpc52xx: clean up interrupt handling
The driver is relying on the assumption that the invalid interrupt 0 can
be freed without any side effects, but that is not the case on
architectures like x86 where it would trigger a warning about freeing an
already free interrupt.
This should not cause any trouble on powerpc where this driver is used,
but make the code more portable (and obviously correct) by making sure
that the interrupts have been requested before freeing them.
Signed-off-by: Johan Hovold <johan@kernel.org>
Link: https://patch.msgid.link/20260423075801.2252318-1-johan@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
