aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorDmitry Torokhov <[email protected]>2017-06-07 06:59:33 +0000
committerJiri Kosina <[email protected]>2017-06-08 11:56:09 +0000
commit28cbc863f4bfa92c26143493f0463e4eb96a1783 (patch)
treed39ec884c850713b30bbd05235d25df446114cf6 /net/unix/af_unix.c
parentHID: hiddev: use hid_hw_power instead of usbhid_get/put_power (diff)
downloadkernel-28cbc863f4bfa92c26143493f0463e4eb96a1783.tar.gz
kernel-28cbc863f4bfa92c26143493f0463e4eb96a1783.zip
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 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions