staging: west bridge, addition of common lock on cyasdevice
authorDavid Cross <david.cross@cypress.com>
Wed, 6 Oct 2010 01:48:08 +0000 (18:48 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 6 Oct 2010 03:28:34 +0000 (20:28 -0700)
commit54930e889238200d82d3a35cc12fae4b5f5c22f5
tree4ec956f3671b488b1e1b8a928a14cedb2d9911eb
parentd11a5c6e683a76a1439b323194921c19e255ceac
staging: west bridge, addition of common lock on cyasdevice

This patch adds and initializes a common lock to
cyasdevice module. This is meant to be used in order
to avoid error scenarios where the device module
could be called by both the block and gadget modules
at the same time.

Signed-off-by: David Cross <david.cross@cypress.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/westbridge/astoria/device/cyasdevice.c