diff options
author | Johan Hovold <johan@kernel.org> | 2021-05-24 11:17:05 +0200 |
---|---|---|
committer | Johan Hovold <johan@kernel.org> | 2021-05-25 07:58:10 +0200 |
commit | eb8dbe80326c3d44c1e38ee4f40e0d8d3e06f2d0 (patch) | |
tree | 0135036976b67dd614b33509b70abdb56e08c43d /lib/mpi/mpi-sub-ui.c | |
parent | f8e8c1b2f782e7391e8a1c25648ce756e2a7d481 (diff) | |
download | linux-stable-eb8dbe80326c3d44c1e38ee4f40e0d8d3e06f2d0.tar.gz linux-stable-eb8dbe80326c3d44c1e38ee4f40e0d8d3e06f2d0.tar.bz2 linux-stable-eb8dbe80326c3d44c1e38ee4f40e0d8d3e06f2d0.zip |
USB: serial: quatech2: 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 three requests which erroneously used usb_rcvctrlpipe().
Fixes: f7a33e608d9a ("USB: serial: add quatech2 usb to serial driver")
Cc: stable@vger.kernel.org # 3.5
Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions