]> git.karo-electronics.de Git - linux-beck.git/commitdiff
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 3592f07bf5b0b804305fe2ea2010c7d3075c996a..c5838d99f89f2583422b89fe9d0d325183f3971a 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,