Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f39b8534 authored by Malcolm Priestley's avatar Malcolm Priestley Committed by Greg Kroah-Hartman
Browse files

staging: vt6656: PIPEnsInterruptRead use usb_fill_int_urb



Change to usb_fill_int_urb which has int_interval.

Signed-off-by: default avatarMalcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 4c6978d3
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -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) {