firewire: ohci: use guard macro to maintain image of configuration ROM
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Mon, 5 Aug 2024 08:54:07 +0000 (17:54 +0900)
committerTakashi Sakamoto <o-takashi@sakamocchi.jp>
Mon, 5 Aug 2024 08:54:07 +0000 (17:54 +0900)
commit86baade948832b45a6b5ef1e47282d94dd99e2ba
treee474e43e398744454fda91548d0d35c32952167a
parentb10e56fd0eae18d77afd3c859fc13f1d665a936c
firewire: ohci: use guard macro to maintain image of configuration ROM

The 1394 OHCI driver uses spinlock for the process to update local
configuration ROM.

This commit uses guard macro to maintain the spinlock.

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