]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
USB: use mutex instead of semaphore in the USB gadget serial driver
authorMatthias Kaehlcke <matthias.kaehlcke@gmail.com>
Fri, 13 Jul 2007 19:25:25 +0000 (21:25 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 20 Jul 2007 00:46:03 +0000 (17:46 -0700)
commit831c70fc13ca8c6074ab0c9d1121a93fd6c5a34a
tree2f60655a422b80593991f7c071de54a9180b32fc
parent64fb98fc40738ae1a98bcea9ca3145b89fb71524
USB: use mutex instead of semaphore in the USB gadget serial driver

The USB gadget serial driver uses a semaphore as mutex. Use the
mutex API instead of the (binary) semaphore.

Signed-off-by: Matthias Kaehlcke <matthias.kaehlcke@gmail.com>
Acked-by: David Brownell <david-b@pacbell.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/serial.c