diff options
| author | 2014-02-19 18:35:22 +0000 | |
|---|---|---|
| committer | 2014-02-24 16:54:53 -0800 | |
| commit | f39b8534d3fd2f107dc50a9f7099c7ef4b3df6a3 (patch) | |
| tree | 3ce931b0ee366362265c8e41e069be5e2c4710c9 | |
| parent | staging/rtl8192e: Remove unused code (diff) | |
staging: vt6656: PIPEnsInterruptRead use usb_fill_int_urb
Change to usb_fill_int_urb which has int_interval.
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
| -rw-r--r-- | drivers/staging/vt6656/usbpipe.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/staging/vt6656/usbpipe.c b/drivers/staging/vt6656/usbpipe.c index 119f65603241..845a8a12a3e4 100644 --- a/drivers/staging/vt6656/usbpipe.c +++ b/drivers/staging/vt6656/usbpipe.c @@ -312,15 +312,15 @@ int PIPEnsInterruptRead(struct vnt_private *pDevice) // Now that we have created the urb, we will send a // request to the USB device object. // - pDevice->pInterruptURB->interval = pDevice->int_interval; -usb_fill_bulk_urb(pDevice->pInterruptURB, + usb_fill_int_urb(pDevice->pInterruptURB, pDevice->usb, usb_rcvbulkpipe(pDevice->usb, 1), - (void *) pDevice->intBuf.pDataBuf, + pDevice->intBuf.pDataBuf, MAX_INTERRUPT_SIZE, s_nsInterruptUsbIoCompleteRead, - pDevice); + pDevice, + pDevice->int_interval); ntStatus = usb_submit_urb(pDevice->pInterruptURB, GFP_ATOMIC); if (ntStatus != 0) { |
