Changeset 95c675b in mainline for uspace/lib/usbdev


Ignore:
Timestamp:
2017-10-17T13:11:35Z (8 years ago)
Author:
Ondřej Hlavatý <aearsis@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
60af4cdb
Parents:
dbf32b1 (diff), a416d070 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge mainline

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usbdev/src/devdrv.c

    rdbf32b1 r95c675b  
    5353
    5454/** USB device structure. */
    55 typedef struct usb_device {
     55struct usb_device {
    5656        /** Connection to device on USB bus */
    5757        usb_dev_session_t *bus_session;
     
    9595         */
    9696        void *driver_data;
    97 } usb_device_t;
     97};
    9898
    9999/** Count number of pipes the driver expects.
     
    489489        int iface_no = -1;
    490490
    491         async_sess_t *sess = devman_parent_device_connect(
    492             ddf_dev_get_handle(ddf_dev), IPC_FLAG_BLOCKING);
     491        async_sess_t *sess = ddf_dev_parent_sess_get(ddf_dev);
    493492        if (sess == NULL)
    494493                return ENOMEM;
    495494        const int ret = usb_device_get_info(sess, &h, &iface_no);
    496         async_hangup(sess);
    497495        if (ret != EOK)
    498496                return ret;
Note: See TracChangeset for help on using the changeset viewer.