diff options
author | Johan Hovold <johan@kernel.org> | 2021-05-21 16:31:09 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-05-21 21:10:43 +0300 |
commit | 746e4acf87bcacf1406e05ef24a0b7139147c63e (patch) | |
tree | 1f03ecfe79982eb76e52d3b47827f6e673b12f2f /drivers/regulator/da9211-regulator.h | |
parent | 6a4c8f60da8f86bb7cfce4612f8ae6770b232e05 (diff) | |
download | linux-746e4acf87bcacf1406e05ef24a0b7139147c63e.tar.xz |
USB: trancevibrator: fix control-request direction
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 set-speed request which erroneously used USB_DIR_IN and update
the default timeout argument to match (same value).
Fixes: 5638e4d92e77 ("USB: add PlayStation 2 Trance Vibrator driver")
Cc: stable@vger.kernel.org # 2.6.19
Signed-off-by: Johan Hovold <johan@kernel.org>
Link: https://lore.kernel.org/r/20210521133109.17396-1-johan@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/regulator/da9211-regulator.h')
0 files changed, 0 insertions, 0 deletions