From c94caec799b7173bfa2eef0f4cac01872d6d62ba Mon Sep 17 00:00:00 2001 From: Takashi Sakamoto Date: Sun, 27 Sep 2026 13:44:07 +0900 Subject: [PATCH] firewire: ohci: run work immediately when re-enabled in packet cancellation During packet cancellation, the work item for the AT request context is disabled. As a result, packets for request subactions are not processed by the work item even if they finished, since the work item can not be scheduled from hardIRQ handling. Run the work item immediately after re-enabling it. Link: https://lore.kernel.org/r/20260927044407.65497-3-o-takashi@sakamocchi.jp Signed-off-by: Takashi Sakamoto --- drivers/firewire/ohci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/firewire/ohci.c b/drivers/firewire/ohci.c index 710640b759e4..df53efec0b0a 100644 --- a/drivers/firewire/ohci.c +++ b/drivers/firewire/ohci.c @@ -2676,7 +2676,7 @@ static int ohci_cancel_packet(struct fw_card *card, struct fw_packet *packet) packet->callback(packet, &ohci->card, packet->ack); ret = 0; out: - enable_work(&ctx->work); + enable_and_queue_work(card->async_wq, &ctx->work); return ret; }