Ignore:
Timestamp:
2018-01-09T18:25:56Z (6 years ago)
Author:
Petr Manek <petr.manek@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
4793023
Parents:
c386d6d
Message:

usbhid: join polling fibrils in device_remove()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/hid/usbhid/generic/hiddev.c

    rc386d6d r970f6e1  
    219219bool usb_generic_hid_polling_callback(usb_hid_dev_t *hid_dev, void *data)
    220220{
    221         return true;
     221        /* Continue polling until the device is about to be removed. */
     222        return !hid_dev->will_deinit;
    222223}
    223224
Note: See TracChangeset for help on using the changeset viewer.