firewire: core: use switch statement to evaluate transaction result to CSR_BUS_MANAGER_ID
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Thu, 18 Sep 2025 23:54:44 +0000 (08:54 +0900)
committerTakashi Sakamoto <o-takashi@sakamocchi.jp>
Thu, 18 Sep 2025 23:58:34 +0000 (08:58 +0900)
commit52561ebfae9dc9871d6ca2c9e72a4a4e246c4476
tree9c0fc56662ce406d72aac4af7d112d4972116121
parent182edc05b087f58245d5481e2d4adb231a45a903
firewire: core: use switch statement to evaluate transaction result to CSR_BUS_MANAGER_ID

The result of the lock transaction to swap bus manager on isochronous
resource manager looks like an ad-hoc style. It is hard to read.

This commit uses switch statement to evaluate the result.

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