]> git.ipfire.org Git - thirdparty/linux.git/commit
firewire: core: use guard macro to maintain isochronous context for userspace client
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Mon, 5 Aug 2024 08:54:02 +0000 (17:54 +0900)
committerTakashi Sakamoto <o-takashi@sakamocchi.jp>
Mon, 5 Aug 2024 08:54:02 +0000 (17:54 +0900)
commitcf123b01286085f178f20454ec920526807f9fa0
treed2b26bdf7b4a3f995c4c68f0ceba515717542170
parentd3816b8b988038bd1c4b7fe08f130ba3783a3432
firewire: core: use guard macro to maintain isochronous context for userspace client

The core function allows one isochronous contexts per userspace client.
The concurrent access to the context is protected by spinlock in the
instance of client.

This commit uses guard macro to maintain the spinlock.

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