Commit cf123b0
committed
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>1 parent d3816b8 commit cf123b0
1 file changed
Lines changed: 11 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1062 | 1062 | | |
1063 | 1063 | | |
1064 | 1064 | | |
1065 | | - | |
1066 | | - | |
| 1065 | + | |
| 1066 | + | |
| 1067 | + | |
1067 | 1068 | | |
1068 | | - | |
1069 | 1069 | | |
1070 | 1070 | | |
1071 | 1071 | | |
| |||
1075 | 1075 | | |
1076 | 1076 | | |
1077 | 1077 | | |
1078 | | - | |
1079 | 1078 | | |
1080 | 1079 | | |
1081 | 1080 | | |
| |||
1084 | 1083 | | |
1085 | 1084 | | |
1086 | 1085 | | |
1087 | | - | |
1088 | 1086 | | |
1089 | 1087 | | |
1090 | 1088 | | |
| |||
1806 | 1804 | | |
1807 | 1805 | | |
1808 | 1806 | | |
1809 | | - | |
1810 | | - | |
1811 | | - | |
1812 | | - | |
1813 | | - | |
1814 | | - | |
| 1807 | + | |
| 1808 | + | |
| 1809 | + | |
| 1810 | + | |
| 1811 | + | |
| 1812 | + | |
| 1813 | + | |
| 1814 | + | |
1815 | 1815 | | |
1816 | | - | |
1817 | | - | |
1818 | | - | |
1819 | 1816 | | |
1820 | 1817 | | |
1821 | 1818 | | |
| |||
0 commit comments