提交 91f13120 编写于 作者: O Oliver Neukum 提交者: Hans Verkuil

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: NOliver Neukum <oneukum@suse.com>
Signed-off-by: NHans Verkuil <hverkuil-cisco@xs4all.nl>
上级 b6f790a5
......@@ -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++) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册