OSDN Git Service

staging: vt6656: PIPEnsControlIn use usb_control_msg
authorMalcolm Priestley <tvboxspy@gmail.com>
Thu, 15 May 2014 21:49:23 +0000 (22:49 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 May 2014 22:02:20 +0000 (15:02 -0700)
commit0fb2af353f11ea939b29c8cf07ce70a3882824cc
tree7c3286312d449138b5ad4c2a32ec9884c75c5574
parent7021b684eb1efa9a349785f919e177c1b63af313
staging: vt6656: PIPEnsControlIn use usb_control_msg

Now that this function is nolonger atomic useusb_control_msg.

Return STATUS_FAILURE if ntStatus less than wLength

Remove the old struct urb and struct usb_ctrlrequest structures.

Remove fMP_CONTROL_READS flag.

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