urb->interval ignored in xhci?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

is that right that setting urb->interval does not work for the xhci driver? Seems so that the driver (in my case the usbduxsigma.c) needs to request the xhci_interval and then has to live with that frame rate so essentially 125us? Is that right?

/Bernd

xhci-ring.c: (I've added a couple of debug messages to it)

    if (xhci_interval != ep_interval) {
        dev_err(&urb->dev->dev,
"Driver uses different interval (%d microframe%s) than xHCI (%d microframe%s)\n",
            ep_interval, ep_interval == 1 ? "" : "s",
            xhci_interval, xhci_interval == 1 ? "" : "s");
        urb->interval = xhci_interval;
        /* Convert back to frames for LS/FS devices */
        if (urb->dev->speed == USB_SPEED_LOW ||
            urb->dev->speed == USB_SPEED_FULL)
            urb->interval /= 8;
    }
    return xhci_queue_bulk_tx(xhci, mem_flags, urb, slot_id, ep_index);

--
http://www.berndporr.me.uk
http://www.imdb.com/name/nm3293421/
http://www.facebook.com/bernd.porr
+44 (0)7840 340069

--
http://www.berndporr.me.uk
http://www.imdb.com/name/nm3293421/
http://www.facebook.com/bernd.porr
+44 (0)7840 340069
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux