Changeset 10cd715 in mainline for uspace/lib/usbhost/src/ddf_helpers.c


Ignore:
Timestamp:
2017-12-14T14:25:40Z (8 years ago)
Author:
Ondřej Hlavatý <aearsis@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
bd05140
Parents:
6455d39
git-author:
Ondřej Hlavatý <aearsis@…> (2017-12-14 14:24:28)
git-committer:
Ondřej Hlavatý <aearsis@…> (2017-12-14 14:25:40)
Message:

usbhost bus: request_address → reserve_default_address

It doesn't make sense to expose requesting addresses other than the
default one from the bus.

File:
1 edited

Legend:

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

    r6455d39 r10cd715  
    362362                const int ret = ddf_fun_unbind(victim->fun);
    363363                if (ret == EOK) {
    364                         usb_address_t address = victim->address;
    365364                        bus_remove_device(hcd->bus, hcd, victim);
    366365                        ddf_fun_destroy(victim->fun);
    367                         bus_release_address(hcd->bus, address);
    368366                } else {
    369367                        usb_log_warning("Failed to unbind device `%s': %s\n",
Note: See TracChangeset for help on using the changeset viewer.