diff options
| author | Johan Hovold <johan@kernel.org> | 2021-05-21 15:31:09 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-06-03 08:22:06 +0200 |
| commit | 789a339586977e2b1e5349287ad0a0a1bb2b769c (patch) | |
| tree | 17d7f6cda1196e1b260ff192c2e55ff5ae3cf063 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 29b72cbb1b23b78b685f65664459b23f1ad1d044 (diff) | |
USB: trancevibrator: fix control-request direction
commit 746e4acf87bcacf1406e05ef24a0b7139147c63e 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 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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
