Re: [PATCH v2] Input: usbtouchscreen - fix control-request directions
From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Date: 2021-05-25 03:37:36
Also in:
linux-input, lkml, stable
From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Date: 2021-05-25 03:37:36
Also in:
linux-input, lkml, stable
On Mon, May 24, 2021 at 11:20:48AM +0200, Johan Hovold wrote:
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: 1d3e20236d7a ("[PATCH] USB: usbtouchscreen: unified USB touchscreen driver")
Fixes: 24ced062a296 ("usbtouchscreen: add support for DMC TSC-10/25 devices")
Fixes: 9e3b25837a20 ("Input: usbtouchscreen - add support for e2i touchscreen controller")
Cc: stable@vger.kernel.org # 2.6.17
Signed-off-by: Johan Hovold <johan@kernel.org>Applied, thank you. -- Dmitry