summaryrefslogtreecommitdiff
path: root/drivers/staging/vt6656/usbpipe.c
diff options
context:
space:
mode:
authorMalcolm Priestley <tvboxspy@gmail.com>2014-03-16 12:34:11 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-03-17 21:50:46 (GMT)
commitb9d93d1c5df69806780275d8f338577577075b75 (patch)
treefc611172527b0ff4ce5531c8068700a97997caa7 /drivers/staging/vt6656/usbpipe.c
parent19485a6dbd4520859949e8223ab1e782fb6ecda9 (diff)
downloadlinux-b9d93d1c5df69806780275d8f338577577075b75.tar.xz
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>
Diffstat (limited to 'drivers/staging/vt6656/usbpipe.c')
-rw-r--r--drivers/staging/vt6656/usbpipe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/vt6656/usbpipe.c b/drivers/staging/vt6656/usbpipe.c
index 3592f07..c5838d9 100644
--- a/drivers/staging/vt6656/usbpipe.c
+++ b/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,