[PATCH] USB: convert the semaphores in the sisusb driver to mutexes
authorArjan van de Ven <arjan@infradead.org>
Tue, 28 Mar 2006 09:00:21 +0000 (01:00 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 21 Jun 2006 22:04:08 +0000 (15:04 -0700)
commit2682d27c5884550857cd96231db5b22b3acced53
tree94b19f6a04993352d8ce3f189366d9cd4969fb58
parent7327413c745c2f8e8d4b92f76759821263b095c1
[PATCH] USB: convert the semaphores in the sisusb driver to mutexes

From: Arjan van de Ven <arjan@infradead.org>

Convert the semaphores-used-as-mutex to mutexes in the sisusb video driver;
this required manual checking due to the "return as locked" stuff in this
driver, but the ->lock semaphore is still used as mutex in the end.

Signed-off-by: Arjan van de Ven <arjan@infradead.org>
Cc: Thomas Winischhofer <winischhofer.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/misc/sisusbvga/sisusb.c
drivers/usb/misc/sisusbvga/sisusb.h
drivers/usb/misc/sisusbvga/sisusb_con.c