summaryrefslogtreecommitdiffstats
path: root/Kconfig
diff options
context:
space:
mode:
authorMaximilian Luz <luzmaximilian@gmail.com>2021-06-08 15:29:51 +0200
committerJiri Kosina <jkosina@suse.cz>2021-06-15 10:54:51 +0200
commit2b2bcc76e2ffbaff7e6ec1c62cb9c10881dc70cd (patch)
treec4f219fcf554a4e82aaba1685f32f89b6f539390 /Kconfig
parentfb1a79a6b6e1223ddb18f12aa35e36f832da2290 (diff)
downloadlinux-stable-2b2bcc76e2ffbaff7e6ec1c62cb9c10881dc70cd.tar.gz
linux-stable-2b2bcc76e2ffbaff7e6ec1c62cb9c10881dc70cd.tar.bz2
linux-stable-2b2bcc76e2ffbaff7e6ec1c62cb9c10881dc70cd.zip
HID: surface-hid: Fix get-report request
Getting a report (e.g. feature report) from a device requires us to send a request indicating which report we want to retrieve and then waiting for the corresponding response containing that report. We already provide the response structure to the request call, but the request isn't marked as a request that expects a response. Thus the request returns before we receive the response and the response buffer indicates a zero length response due to that. This essentially means that the get-report calls are broken and will always indicate that a report of length zero has been read. Fix this by appropriately marking the request. Fixes: b05ff1002a5c ("HID: Add support for Surface Aggregator Module HID transport") Signed-off-by: Maximilian Luz <luzmaximilian@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions