staging: vt6656: [BUG] Fix Warning BOGUS urb xfer, pipe 3 != type 1
authorMalcolm Priestley <tvboxspy@gmail.com>
Sun, 16 Mar 2014 12:34:11 +0000 (12:34 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Mar 2014 21:50:46 +0000 (14:50 -0700)
Stable kernels will need patches
staging: vt6656: s_nsInterruptUsbIoCompleteRead remove usb_fill_bulk_urb
staging: vt6656: PIPEnsInterruptRead use usb_fill_int_urb

and a backported version of this patch.

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

index 3592f07..c5838d9 100644 (file)
@@ -313,7 +313,7 @@ int PIPEnsInterruptRead(struct vnt_private *priv)
 
        usb_fill_int_urb(priv->pInterruptURB,
                priv->usb,
-               usb_rcvbulkpipe(priv->usb, 1),
+               usb_rcvintpipe(priv->usb, 1),
                priv->int_buf.data_buf,
                MAX_INTERRUPT_SIZE,
                s_nsInterruptUsbIoCompleteRead,