Bluetooth: hci_bcm: Replace spinlock by mutex
authorFrederic Danis <frederic.danis@linux.intel.com>
Tue, 1 Sep 2015 10:13:35 +0000 (12:13 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 17 Sep 2015 11:20:01 +0000 (13:20 +0200)
commitbb3ea16a44c648cd5ebcf3cc88dd522f432063ab
tree7d19ce49922968236aed6d0453b48c88fb3013fe
parentf81b001a3e1c7ac42ba734de8d136a14ccb087c0
Bluetooth: hci_bcm: Replace spinlock by mutex

Replace spinlock by mutex to be able to use bcm_device_lock in
sleepable context like devm_request_threaded_irq or upcomming PM support.

Signed-off-by: Frederic Danis <frederic.danis@linux.intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/hci_bcm.c