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

Changeset 2bdf92a5 in mainline for uspace/lib/usbdev/src/devdrv.c


Ignore:
Timestamp:
2017-10-10T06:34:37Z (4 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master
Children:
cccd60c3
Parents:
05913fe7
Message:

Eliminate remaining cases of drivers directly calling devman_parent_device_connect.

File:
1 edited

Legend:

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

    r05913fe7 r2bdf92a5  
    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.