Changeset 890a3454 in mainline


Ignore:
Timestamp:
2011-12-06T14:47:28Z (12 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2f80b86
Parents:
11cb0565
Message:

ohci: Bind root hub USB address to handle, after ddf_bind.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/ohci/hc.c

    r11cb0565 r890a3454  
    137137                return ret;
    138138        }
    139         usb_device_manager_bind_address(&instance->generic.dev_manager,
    140             instance->rh.address, hub_fun->handle);
    141139
    142140#define CHECK_RET_UNREG_RETURN(ret, message...) \
     
    166164            "Failed to bind root hub function: %s.\n", str_error(ret));
    167165
     166        ret = usb_device_manager_bind_address(&instance->generic.dev_manager,
     167            instance->rh.address, hub_fun->handle);
     168        if (ret != EOK)
     169                usb_log_warning("Failed to bind root hub address: %s.\n",
     170                    str_error(ret));
     171
    168172        return EOK;
    169173#undef CHECK_RET_RELEASE
Note: See TracChangeset for help on using the changeset viewer.