Sfoglia il codice sorgente

staging: vt6656: [BUG] Fix Warning BOGUS urb xfer, pipe 3 != type 1

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>
Malcolm Priestley 11 anni fa
parent
commit
b9d93d1c5d
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      drivers/staging/vt6656/usbpipe.c

+ 1 - 1
drivers/staging/vt6656/usbpipe.c

@@ -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,