commit | e8537bd2c4f325a4796da33564ddcef9489b7feb | [log] [tgz] |
---|---|---|
author | Bjørn Mork <bjorn@mork.no> | Mon Jan 16 12:41:48 2012 +0100 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Tue Jan 24 12:17:29 2012 -0800 |
tree | 50d5d643591ed620197c0d7bba8263acb1afba7f | |
parent | c428b70c1e115c5649707a602742e34130d19428 [diff] |
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>