firewire: ohci: use workqueue to handle events of AR request/response contexts
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Sun, 15 Jun 2025 13:32:52 +0000 (22:32 +0900)
committerTakashi Sakamoto <o-takashi@sakamocchi.jp>
Sun, 15 Jun 2025 13:40:29 +0000 (22:40 +0900)
commit57e6d9f85fff3a71e667628474063c1bbb2fad20
tree4610d09dc2093afbe174c23da5b8a1f92730110d
parent72bf1441231ab421a380771e37a5c595493db178
firewire: ohci: use workqueue to handle events of AR request/response contexts

This commit adds a work item to handle events of 1394 OHCI AR
request/response contexts, and queues the item to the specific workqueue.
The call of struct fw_address_handler.address_callback() is done in the
workqueue when receiving any requests from the remove nodes. Additionally,
the call of struct fw_packet.callback() is done in the workqueue too when
receiving acknowledge to the asynchronous packet for the response
subaction of split transaction to the remote nodes.

Link: https://lore.kernel.org/r/20250615133253.433057-3-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
drivers/firewire/core-transaction.c
drivers/firewire/ohci.c