Bluetooth: Convert RFCOMM spinlocks into mutexes
authorLibor Pechacek <lpechacek@suse.cz>
Tue, 29 Apr 2014 18:38:34 +0000 (20:38 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 6 May 2014 02:25:06 +0000 (19:25 -0700)
Enabling CONFIG_DEBUG_ATOMIC_SLEEP has shown that some rfcomm functions
acquiring spinlocks call sleeping locks further in the chain.  Converting
the offending spinlocks into mutexes makes sleeping safe.

Signed-off-by: Libor Pechacek <lpechacek@suse.cz>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>

No differences found