Changeset 2a5b62b in mainline for uspace/drv/bus/usb/usbhid/usbhid.c


Ignore:
Timestamp:
2011-10-15T00:09:46Z (13 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
8a121b1
Parents:
1526c174
Message:

usbhid: Wait for autorepeat fibril during destruction.

Fixes random failure on keyboard unplug.
Add a bunch of debug messages.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/usbhid/usbhid.c

    r1526c174 r2a5b62b  
    418418
    419419        if (hid_dev == NULL) {
    420                 usb_log_fatal("No memory!\n");
     420                usb_log_error("No memory!\n");
    421421                return NULL;
    422422        }
     
    425425            usb_hid_report_t)));
    426426        if (hid_dev->report == NULL) {
    427                 usb_log_fatal("No memory!\n");
     427                usb_log_error("No memory!\n");
    428428                free(hid_dev);
    429429                return NULL;
     
    631631
    632632        hid_dev->running = false;
    633 //      usb_hid_destroy(hid_dev);
    634633}
    635634
Note: See TracChangeset for help on using the changeset viewer.