diff options
author | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2014-03-03 23:23:51 +0100 |
---|---|---|
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2014-12-10 20:53:21 +0100 |
commit | d737d7da8e7e931360282199341f44ac0803c837 (patch) | |
tree | 379cad73b30b61286933ea84e25b3492b3b4f0dd /drivers/firewire/core-transaction.c | |
parent | 8e045a31e7c0536e4deb750b37c919fadcb44aa3 (diff) |
firewire: sbp2: replace card lock by target lock
firewire-core uses fw_card.lock to protect topology data and transaction
data. firewire-sbp2 uses fw_card.lock for entirely unrelated purposes.
Introduce a sbp2_target.lock to firewire-sbp2 and replace all
fw_card.lock uses in the driver. fw_card.lock is now entirely private
to firewire-core. This has no immediate advantage apart from making it
clear in the code that firewire-sbp2 does not interact with the core
via the core lock.
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'drivers/firewire/core-transaction.c')
0 files changed, 0 insertions, 0 deletions