diff options
| author | Felix Gu <ustc.gu@gmail.com> | 2026-04-28 01:42:00 +0800 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-04-28 09:57:15 +0900 |
| commit | 8d0189c1ea98b56481eb809e3d1bdbf85557e819 (patch) | |
| tree | d6f2d941f86ebb98cfe5cb3c97e0a0139ab7072f /scripts/dummy-tools/python3 | |
| parent | f5c6a272b699b9a0698535e1a56e683207e50030 (diff) | |
spi: amlogic-spisg: initialize completion before requesting IRQ
Move init_completion(&spisg->completion) to before devm_request_irq()
to avoid a potential race condition where an interrupt could fire
before the completion structure is initialized.
Fixes: cef9991e04ae ("spi: Add Amlogic SPISG driver")
Signed-off-by: Felix Gu <ustc.gu@gmail.com>
Link: https://patch.msgid.link/20260428-amlogic-spisg-v1-1-8eecc3b446d6@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/dummy-tools/python3')
0 files changed, 0 insertions, 0 deletions
