Changeset f98f4b7 in mainline for uspace/lib/usbhost/src/hcd.c


Ignore:
Timestamp:
2017-12-20T14:49:10Z (6 years ago)
Author:
Ondřej Hlavatý <aearsis@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
fd312d5
Parents:
15f8079
git-author:
Ondřej Hlavatý <aearsis@…> (2017-12-20 14:48:29)
git-committer:
Ondřej Hlavatý <aearsis@…> (2017-12-20 14:49:10)
Message:

usbhost: polling fibril gets bus, not hcd

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usbhost/src/hcd.c

    r15f8079 rf98f4b7  
    103103static int interrupt_polling(void *arg)
    104104{
    105         hc_device_t *hcd = arg;
    106         assert(hcd);
    107         bus_t *bus = hcd->bus;
     105        bus_t *bus = arg;
     106        assert(bus);
    108107
    109108        const bus_ops_t *interrupt_ops = BUS_OPS_LOOKUP(bus->ops, interrupt);
Note: See TracChangeset for help on using the changeset viewer.