Changeset 6b2930b in mainline for uspace/drv/bus/usb/xhci/rh.c


Ignore:
Timestamp:
2017-10-28T21:47:39Z (6 years ago)
Author:
Petr Manek <petr.manek@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
62f8025
Parents:
a3044b4
Message:

Issuing deconfigure / configure commands when offlining / onlining a device.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/xhci/rh.c

    ra3044b4 r6b2930b  
    188188
    189189        /* Mark the device as detached. */
    190         fibril_mutex_lock(&dev->base.guard);
    191         dev->detached = true;
    192         fibril_mutex_unlock(&dev->base.guard);
    193 
    194190        fibril_mutex_lock(&rh->device.base.guard);
    195191        list_remove(&dev->base.link);
     
    202198                    ddf_fun_get_name(dev->base.fun), str_error(err));
    203199        }
    204 
    205         /* Destroy DDF device. */
    206         hcd_ddf_device_destroy(&dev->base);
    207 
    208         /* TODO: Figure out what was forgotten and free that as well. */
    209200
    210201        return EOK;
Note: See TracChangeset for help on using the changeset viewer.