Changeset 888238e9 in mainline for uspace/drv/bus/usb/xhci/endpoint.c


Ignore:
Timestamp:
2017-11-20T12:56:00Z (7 years ago)
Author:
Aearsis <Hlavaty.Ondrej@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d3086873
Parents:
ff14aede
git-author:
Aearsis <Hlavaty.Ondrej@…> (2017-11-20 12:55:58)
git-committer:
Aearsis <Hlavaty.Ondrej@…> (2017-11-20 12:56:00)
Message:

usbhost: endpoints do not have speed on their own

This information was redundant, and the fact it was never set proves it
should be removed because it is source of errors.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/xhci/endpoint.c

    rff14aede r888238e9  
    141141int xhci_endpoint_request_streams(xhci_hc_t *hc, xhci_device_t *dev, xhci_endpoint_t *xhci_ep, unsigned count) {
    142142        if (xhci_ep->base.transfer_type != USB_TRANSFER_BULK
    143                 || xhci_ep->base.speed != USB_SPEED_SUPER) {
     143                || dev->base.speed != USB_SPEED_SUPER) {
    144144                usb_log_error("Streams are only supported by superspeed bulk endpoints.");
    145145                return EINVAL;
Note: See TracChangeset for help on using the changeset viewer.