Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 7242ba21 in mainline


Ignore:
Timestamp:
2018-01-12T20:49:34Z (4 years ago)
Author:
Ondřej Hlavatý <aearsis@…>
Branches:
lfn, master
Children:
fb154e13
Parents:
5d25984
Message:

usbhost: mark roothub gone on binding failure

File:
1 edited

Legend:

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

    r5d25984 r7242ba21  
    504504        if ((err = ddf_fun_bind(dev->fun))) {
    505505                usb_log_error("Failed to register roothub: %s.", str_error(err));
    506                 goto err_usb_dev;
     506                goto err_enumerated;
    507507        }
    508508
     
    510510        return EOK;
    511511
     512err_enumerated:
     513        bus_device_gone(dev);
    512514err_usb_dev:
    513515        hcd_ddf_fun_destroy(dev);
Note: See TracChangeset for help on using the changeset viewer.