Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Input: usbtouchscreen - fix control-request directions
commit 41e8102 upstream. 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: 1d3e202 ("[PATCH] USB: usbtouchscreen: unified USB touchscreen driver") Fixes: 24ced06 ("usbtouchscreen: add support for DMC TSC-10/25 devices") Fixes: 9e3b258 ("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.org Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
- Loading branch information