diff options
author | Johan Hovold <johan@kernel.org> | 2021-05-21 16:28:39 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-06-02 15:10:25 +0300 |
commit | 53ae298fde7adcc4b1432bce2dbdf8dac54dfa72 (patch) | |
tree | a0f635943edfbb73211d20239047ae978aa33459 /crypto | |
parent | 8c8b9a9be2afa8bd6a72ad1130532baab9fab89d (diff) | |
download | linux-53ae298fde7adcc4b1432bce2dbdf8dac54dfa72.tar.xz |
media: gspca/sq905: 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 USB_REQ_SYNCH_FRAME request which erroneously used
usb_sndctrlpipe().
Fixes: 27d35fc3fb06 ("V4L/DVB (10639): gspca - sq905: New subdriver.")
Cc: stable@vger.kernel.org # 2.6.30
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions