From: Johan Hedberg Date: Wed, 18 Feb 2015 12:53:55 +0000 (+0200) Subject: Bluetooth: Convert hci_cb_list_lock to a mutex X-Git-Tag: omap-for-v4.1/fixes-rc1~141^2~375^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fba7ecf09bc458b15f9d578e4213c8c349f9592d;p=pandora-kernel.git Bluetooth: Convert hci_cb_list_lock to a mutex We'll soon need to be able to sleep inside the loops that iterate the hci_cb list, so neither a spinlock, rwlock or rcu are usable. This patch changes the lock to a mutex which permits sleeping while holding the lock. Signed-off-by: Johan Hedberg Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed