aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-3m-pct.c
diff options
context:
space:
mode:
authorAlan Ott <alan@signal11.us>2010-05-16 18:07:09 -0400
committerJiri Kosina <jkosina@suse.cz>2010-05-18 10:43:23 +0200
commita8ab5d58b0238b8199cc699b8dff7c5e1da24138 (patch)
tree9e737c8618433cb8a603a3f32c382ef08ef287ab /drivers/hid/hid-3m-pct.c
parentHID: hid-samsung: remove redundant key mappings (diff)
downloadlinux-dev-a8ab5d58b0238b8199cc699b8dff7c5e1da24138.tar.xz
linux-dev-a8ab5d58b0238b8199cc699b8dff7c5e1da24138.zip
HID: hidraw: Use Interrupt Endpoint for OUT Transfers if Available
This patch makes the hidraw driver use the first Interrupt OUT endpoint for HID transfers to the device if such an endpoint exists. This is consistent with the behavior of the hiddev driver, and the logic is similar. From the USB HID specification: The Interrupt Out pipe is optional. If a device declares an Interrupt Out endpoint then Output reports are transmitted by the host to the device through the Interrupt Out endpoint. If no Interrupt Out endpoint is declared then Output reports are transmitted to a device through the Control endpoint, using Set_Report(Output) requests. Signed-off-by: Alan Ott <alan@signal11.us> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-3m-pct.c')
0 files changed, 0 insertions, 0 deletions