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

usbhid: mark polling end for keyboard and multimedia device

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/hid/usbhid/multimedia/multimedia.c

    r970f6e1 r4793023  
    246246        usb_hid_report_path_t *path = usb_hid_report_path();
    247247        if (path == NULL)
    248                 return true; /* This might be a temporary failure. */
     248                return !hid_dev->will_deinit; /* This might be a temporary failure. */
    249249
    250250        int ret =
     
    252252        if (ret != EOK) {
    253253                usb_hid_report_path_free(path);
    254                 return true; /* This might be a temporary failure. */
     254                return !hid_dev->will_deinit; /* This might be a temporary failure. */
    255255        }
    256256
     
    284284        usb_hid_report_path_free(path);
    285285
    286         return true;
     286        return !hid_dev->will_deinit;
    287287}
    288288/**
Note: See TracChangeset for help on using the changeset viewer.