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:Johan Hovold <johan@kernel.org> Cc: stable@vger.kernel.org # 2.6.17 Link: https://lore.kernel.org/r/20210524092048.4443-1-johan@kernel.orgSigned-off-by:
Dmitry Torokhov <dmitry.torokhov@gmail.com>
Showing
Please register or sign in to comment