diff options
| author | Johan Hovold <johan@kernel.org> | 2021-05-24 11:17:05 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-06-16 11:34:53 +0200 |
| commit | c6db1c0f08eaabf4cd490b9689cf5b02cca84b57 (patch) | |
| tree | 79a4bee8c19966fd7ff0891aa832ae1d56093a58 /lib/cpu-notifier-error-inject.c | |
| parent | d307cd0830b08831c5224ea21988ae038be33b36 (diff) | |
USB: serial: quatech2: fix control-request directions
commit eb8dbe80326c3d44c1e38ee4f40e0d8d3e06f2d0 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 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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions
