mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-03 23:58:05 +00:00
usbtv: usbtv_set_regs: the pipe is output
We are setting a value. That is output and the pipe has to match that. Signed-off-by: Oliver Neukum <oneukum@suse.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
This commit is contained in:
parent
b6f790a576
commit
91f1312069
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@
|
|||
int usbtv_set_regs(struct usbtv *usbtv, const u16 regs[][2], int size)
|
||||
{
|
||||
int ret;
|
||||
int pipe = usb_rcvctrlpipe(usbtv->udev, 0);
|
||||
int pipe = usb_sndctrlpipe(usbtv->udev, 0);
|
||||
int i;
|
||||
|
||||
for (i = 0; i < size; i++) {
|
||||
|
|
Loading…
Reference in a new issue