diff options
author | Johan Hovold <johan@kernel.org> | 2021-05-24 19:02:59 +0200 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2021-05-25 05:56:11 +0200 |
commit | 41e81022a04a0294c55cfa7e366bc14b9634c66e (patch) | |
tree | c756a1ca0bd37c6f82087cac21c46c3b583bc290 /drivers/input/touchscreen/zylonite-wm97xx.c | |
parent | Input: xpad - add support for Amazon Game Controller (diff) | |
download | linux-41e81022a04a0294c55cfa7e366bc14b9634c66e.tar.xz linux-41e81022a04a0294c55cfa7e366bc14b9634c66e.zip |
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: 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")
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>
Diffstat (limited to 'drivers/input/touchscreen/zylonite-wm97xx.c')
0 files changed, 0 insertions, 0 deletions