Changeset 53a309e in mainline for uspace/drv/bus


Ignore:
Timestamp:
2017-10-08T20:42:50Z (8 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
07cb0108
Parents:
d15797d
Message:

Must not explicitly close DDF-provided parent session.

Location:
uspace/drv/bus/usb
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/ehci/res.c

    rd15797d r53a309e  
    229229        //TODO unmap registers
    230230        hw_res_list_parsed_clean(&res);
    231         async_hangup(parent_sess);
    232231        return ret;
    233232}
  • uspace/drv/bus/usb/uhci/main.c

    rd15797d r53a309e  
    111111        /* See UHCI design guide page 45 for these values.
    112112         * Write all WC bits in USB legacy register */
    113         const int rc = pci_config_space_write_16(parent_sess, 0xc0, 0xaf00);
    114 
    115         async_hangup(parent_sess);
    116         return rc;
     113        return pci_config_space_write_16(parent_sess, 0xc0, 0xaf00);
    117114}
    118115
Note: See TracChangeset for help on using the changeset viewer.