diff options
author | Dmitry Torokhov <[email protected]> | 2017-06-06 23:59:33 -0700 |
---|---|---|
committer | Jiri Kosina <[email protected]> | 2017-06-08 13:56:09 +0200 |
commit | 28cbc863f4bfa92c26143493f0463e4eb96a1783 (patch) | |
tree | d39ec884c850713b30bbd05235d25df446114cf6 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 9a83563fb3f926cbf0d5992d5c70d760c445ba09 (diff) |
HID: usbhid: do not rely on hid->open when deciding to do IO
Instead of checking hid->open (that we plan on having HID core manage) in
hid_start_in(), let's allocate a couple of new flags: HID_IN_POLLING and
HID_OPENED, and use them to decide whether we should be submitting URBs or
not.
Signed-off-by: Dmitry Torokhov <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Reviewed-by: Benjamin Tissoires <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions