Bluetooth: Replace spin_lock by mutex in hci_dev
authorGustavo F. Padovan <padovan@profusion.mobi>
Fri, 17 Jun 2011 16:03:21 +0000 (13:03 -0300)
committerGustavo F. Padovan <padovan@profusion.mobi>
Sun, 18 Dec 2011 19:07:54 +0000 (17:07 -0200)
commit09fd0de5bd8f8ef3317e5365f92f1a13dcd89aa9
treee29f1e4fc4555eefb5a39dfd1e230afcf28da999
parentb78752cc71d86998d3b77d873c61d6ffdb7a2142
Bluetooth: Replace spin_lock by mutex in hci_dev

Now we run everything in HCI in process context, so it's a better idea use
mutex instead spin_lock. The macro remains hci_dev_lock() (and I got rid
of hci_dev_lock_bh()), of course.

Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
include/net/bluetooth/hci_core.h
net/bluetooth/hci_conn.c
net/bluetooth/hci_core.c
net/bluetooth/hci_sock.c
net/bluetooth/hci_sysfs.c
net/bluetooth/hidp/core.c
net/bluetooth/l2cap_core.c
net/bluetooth/mgmt.c
net/bluetooth/sco.c