]> git.baikalelectronics.ru Git - kernel.git/commit
staging: vt6656: lock changes: usbpipe.c add mutex lock.
authorMalcolm Priestley <tvboxspy@gmail.com>
Thu, 15 May 2014 21:49:19 +0000 (22:49 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 May 2014 22:02:19 +0000 (15:02 -0700)
commit1c74541c5e7318fe1aeef8948c5584cac734ca27
treea5c80b338d395531c8942537d2f26c59d50379ac
parentb4274b4591b8ac26b9ecb2d8c71b4d67ee6a7dba
staging: vt6656: lock changes: usbpipe.c add mutex lock.

PIPEnsControlOut and PIPEnsControlIn are nolonger
atomic but they do need a usb lock.

Add new mutex lock for these functions and PIPEnsControlOutAsyn.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/device.h
drivers/staging/vt6656/main_usb.c
drivers/staging/vt6656/usbpipe.c