Re: [PATCH] firewire: core: clear sources of hardware interrupt at card removal
Brought to you by:
aeb,
bencollins
|
From: Takashi S. <o-t...@sa...> - 2025-11-11 10:47:02
|
On Sun, Nov 09, 2025 at 03:55:25PM +0900, Takashi Sakamoto wrote: > 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. > > Signed-off-by: Takashi Sakamoto <o-t...@sa...> > --- > drivers/firewire/core-card.c | 3 +++ > drivers/firewire/core.h | 3 +++ > drivers/firewire/ohci.c | 44 +++++++++++++++++++++++++++++------- > 3 files changed, 42 insertions(+), 8 deletions(-) Applied to for-next branch. Regards Takashi Sakamoto |