• Adam Kropelin's avatar
    [PATCH] USB: Stop hiddev generating empty events · d3d1e308
    Adam Kropelin authored
    hiddev is mistakenly returning empty hiddev_event structures for report
    events. According to Documentation/usb/hiddev.txt, report events are
    only sent when HIDDEV_FLAG_REPORT and HIDDEV_FLAG_UREF are both set.
    Currently, report events from hid cause hiddev to generate empty
    hiddev_event events when HIDDEV_FLAG_UREF is not set.
    d3d1e308
hiddev.c 19.6 KB