Re: [PATCH] firewire: core: abort pending transactions at card removal
Brought to you by:
aeb,
bencollins
|
From: Takashi S. <o-t...@sa...> - 2025-11-13 20:33:27
|
On Wed, Nov 12, 2025 at 07:38:34AM +0900, Takashi Sakamoto wrote: > IEEE 1394 defines the split, concatenated, and unified transaction. > To support the split transaction, core function uses linked list to > maintain the transactions waiting for acknowledge packet. After clearing > sources of hardware interrupts, the acknowledge packet is no longer > handled, therefore it is required to abort the pending transactions. > > This commit executes callback with RCODE_CANCELLED for the pending > transactions at card removal. > > Signed-off-by: Takashi Sakamoto <o-t...@sa...> > --- > drivers/firewire/core-card.c | 1 + > drivers/firewire/core-transaction.c | 28 ++++++++++++++++++++++++++++ > drivers/firewire/core.h | 2 ++ > drivers/firewire/ohci.c | 5 ----- > 4 files changed, 31 insertions(+), 5 deletions(-) Applied to for-next branch. Regards Takashi Sakamoto |