summaryrefslogtreecommitdiffstats
path: root/drivers/usb/misc
diff options
context:
space:
mode:
authorBjørn Mork <bjorn@mork.no>2012-01-16 12:41:48 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2012-01-24 21:17:29 +0100
commite8537bd2c4f325a4796da33564ddcef9489b7feb (patch)
tree50d5d643591ed620197c0d7bba8263acb1afba7f /drivers/usb/misc
parentUSB: cdc-wdm: updating desc->length must be protected by spin_lock (diff)
downloadlinux-e8537bd2c4f325a4796da33564ddcef9489b7feb.tar.xz
linux-e8537bd2c4f325a4796da33564ddcef9489b7feb.zip
USB: cdc-wdm: use two mutexes to allow simultaneous read and write
using a separate read and write mutex for locking is sufficient to make the driver accept simultaneous read and write. This improves useability a lot. Signed-off-by: Bjørn Mork <bjorn@mork.no> Cc: stable <stable@vger.kernel.org> Cc: Oliver Neukum <oneukum@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/misc')
0 files changed, 0 insertions, 0 deletions