Changeset c386d6d in mainline for uspace/drv/bus/usb/usbhub/usbhub.c


Ignore:
Timestamp:
2018-01-09T18:23:47Z (6 years ago)
Author:
Petr Manek <petr.manek@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
970f6e1
Parents:
cf5cbac4
git-author:
Petr Manek <petr.manek@…> (2018-01-09 18:23:40)
git-committer:
Petr Manek <petr.manek@…> (2018-01-09 18:23:47)
Message:

usbdev: refactoring

Polling syntax sugar API extended to allow custom error handlers. USB
hub polling changed to follow suit.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/usbhub/usbhub.c

    rcf5cbac4 rc386d6d  
    151151            &hub_status_change_endpoint_description,
    152152            hub_port_changes_callback, ((hub_dev->port_count + 1 + 7) / 8),
    153             -1, usb_hub_polling_terminated_callback, hub_dev);
     153            -1, NULL, usb_hub_polling_terminated_callback, hub_dev);
    154154        if (opResult != EOK) {
    155155                /* Function is already bound */
Note: See TracChangeset for help on using the changeset viewer.