projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6f790a
)
usbtv: usbtv_set_regs: the pipe is output
author
Oliver Neukum
<oneukum@suse.com>
Thu, 16 Mar 2023 13:15:07 +0000
(14:15 +0100)
committer
Hans Verkuil
<hverkuil-cisco@xs4all.nl>
Tue, 11 Apr 2023 15:10:10 +0000
(17:10 +0200)
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>
drivers/media/usb/usbtv/usbtv-core.c
patch
|
blob
|
history
diff --git
a/drivers/media/usb/usbtv/usbtv-core.c
b/drivers/media/usb/usbtv/usbtv-core.c
index
2308c0b
..
1f7620c
100644
(file)
--- a/
drivers/media/usb/usbtv/usbtv-core.c
+++ b/
drivers/media/usb/usbtv/usbtv-core.c
@@
-47,7
+47,7
@@
int usbtv_set_regs(struct usbtv *usbtv, const u16 regs[][2], int size)
{
int ret;
- int pipe = usb_
rcv
ctrlpipe(usbtv->udev, 0);
+ int pipe = usb_
snd
ctrlpipe(usbtv->udev, 0);
int i;
for (i = 0; i < size; i++) {