]> Gentwo Git Trees - linux/.git/commit
firewire: core: clear sources of hardware interrupt at card removal
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Sun, 9 Nov 2025 06:55:25 +0000 (15:55 +0900)
committerTakashi Sakamoto <o-takashi@sakamocchi.jp>
Sun, 9 Nov 2025 06:59:14 +0000 (15:59 +0900)
commit594a6a27fb17b967fcdf32166845efdf3e1ecfbf
treec32a812827a77c0c8aa7da0cc7a328dab42a2390
parentfa2dc27100768a8a994c377051fa17a47cc66c76
firewire: core: clear sources of hardware interrupt at card removal

Due to the factors external to the system, hardware events may still be
handled while a card instance is being removed. The sources of hardware
IRQs should be cleared during card removal so that workqueues can be safely
destroyed.

This commit adds a disable callback to the underlying driver operations.
After this callback returns, the underlying driver guarantees that it
will no longer handle hardware events.

Link: https://lore.kernel.org/r/20251109065525.163464-1-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
drivers/firewire/core-card.c
drivers/firewire/core.h
drivers/firewire/ohci.c