Skip to contentSkip to conversation

usbtv: usbtv_set_regs: the pipe is output

PATCH New Oliver Neukum 1 participant 1 message Mar 16, 2023 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 usbtv: usbtv_set_regs: the pipe is output

We are setting a value. That is output and
the pipe has to match that.

---
 drivers/media/usb/usbtv/usbtv-core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/media/usb/usbtv/usbtv-core.c +1 -1
index 2308c0b4f5e7..1f7620cd2996 100644
@@ -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++) {
Signature · 1 line
2.39.2