Changeset 4c53333 in mainline for uspace/lib/usbhid/src/hidiface.c


Ignore:
Timestamp:
2013-07-11T08:21:10Z (12 years ago)
Author:
Maurizio Lombardi <m.lombardi85@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
64e63ce1
Parents:
80445cf (diff), c8bb1633 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

merge mainline changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usbhid/src/hidiface.c

    r80445cf r4c53333  
    3333 * Client functions for accessing USB HID interface (implementation).
    3434 */
     35
    3536#include <dev_iface.h>
    3637#include <usbhid_iface.h>
     
    8990                return EINVAL;
    9091       
    91         if ((buf == NULL))
     92        if (buf == NULL)
    9293                return ENOMEM;
    9394       
     
    120121       
    121122        if (data_request == 0) {
    122                 async_wait_for(opening_request, NULL);
     123                async_forget(opening_request);
    123124                free(buffer);
    124125                return ENOMEM;
     
    183184                return EINVAL;
    184185       
    185         if ((buf == NULL))
     186        if (buf == NULL)
    186187                return ENOMEM;
    187188       
     
    206207       
    207208        if (data_request == 0) {
    208                 async_wait_for(opening_request, NULL);
     209                async_forget(opening_request);
    209210                return ENOMEM;
    210211        }
Note: See TracChangeset for help on using the changeset viewer.