Skip to content
Commit 41e81022 authored by Johan Hovold's avatar Johan Hovold Committed by Dmitry Torokhov
Browse files

Input: usbtouchscreen - fix control-request directions



The direction of the pipe argument must match the request-type direction
bit or control requests may fail depending on the host-controller-driver
implementation.

Fix the four control requests which erroneously used usb_rcvctrlpipe().

Fixes: 1d3e2023 ("[PATCH] USB: usbtouchscreen: unified USB touchscreen driver")
Fixes: 24ced062 ("usbtouchscreen: add support for DMC TSC-10/25 devices")
Fixes: 9e3b2583 ("Input: usbtouchscreen - add support for e2i touchscreen controller")
Signed-off-by: default avatarJohan Hovold <johan@kernel.org>
Cc: stable@vger.kernel.org      # 2.6.17
Link: https://lore.kernel.org/r/20210524092048.4443-1-johan@kernel.org


Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent 05665cef
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment