Staging: serqt_usb2: fix sleeping with spinlock held
authorAlexey Khoroshilov <khoroshilov@ispras.ru>
Tue, 9 Aug 2011 06:23:42 +0000 (10:23 +0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 23 Aug 2011 22:22:51 +0000 (15:22 -0700)
commitfa2d8bbb6360ec4bf831802e925d9db06d3c9649
tree7ecdd4736c2631c10e2ee93367bf3ff4c3332ff5
parenteb93ca4e83ecf06a94a36571be730a98177c8e14
Staging: serqt_usb2: fix sleeping with spinlock held

The patch replaces spinlock with mutex.

Found by Linux Driver Verification project (linuxtesting.org).

Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/serqt_usb2/serqt_usb2.c