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>
This commit is contained in:
parent
4c6978d304
commit
f39b8534d3
1 changed files with 4 additions and 4 deletions
|
@ -312,15 +312,15 @@ int PIPEnsInterruptRead(struct vnt_private *pDevice)
|
||||||
// Now that we have created the urb, we will send a
|
// Now that we have created the urb, we will send a
|
||||||
// request to the USB device object.
|
// 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,
|
pDevice->usb,
|
||||||
usb_rcvbulkpipe(pDevice->usb, 1),
|
usb_rcvbulkpipe(pDevice->usb, 1),
|
||||||
(void *) pDevice->intBuf.pDataBuf,
|
pDevice->intBuf.pDataBuf,
|
||||||
MAX_INTERRUPT_SIZE,
|
MAX_INTERRUPT_SIZE,
|
||||||
s_nsInterruptUsbIoCompleteRead,
|
s_nsInterruptUsbIoCompleteRead,
|
||||||
pDevice);
|
pDevice,
|
||||||
|
pDevice->int_interval);
|
||||||
|
|
||||||
ntStatus = usb_submit_urb(pDevice->pInterruptURB, GFP_ATOMIC);
|
ntStatus = usb_submit_urb(pDevice->pInterruptURB, GFP_ATOMIC);
|
||||||
if (ntStatus != 0) {
|
if (ntStatus != 0) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue