]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
firewire: core: use mutex instead of spinlock for client isochronous context
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Sat, 10 Jan 2026 01:39:05 +0000 (10:39 +0900)
committerTakashi Sakamoto <o-takashi@sakamocchi.jp>
Mon, 12 Jan 2026 02:49:37 +0000 (11:49 +0900)
commitadc839ae7d0f6c1a823e9731e45abfd87c6cf28b
treebef771162171507f13988e82866e9f6e519360d8
parentc91adaddb0740c5a436084c85bedfe07b6d0c157
firewire: core: use mutex instead of spinlock for client isochronous context

There is a restriction that the userspace client associated to a file
descriptor can hold one isochronous context. The client-level spinning
lock is used to guarantee it, however the lock is also used for
multi-purposes. Additionally, there is no need to use this type of lock,
and the mutex is available, instead.

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