Commit 2f3ed053 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

V4L/DVB (5790): Fix error handling for stv680

Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
parent 2d9078f7
...@@ -715,8 +715,11 @@ static int stv680_start_stream (struct usb_stv *stv680) ...@@ -715,8 +715,11 @@ static int stv680_start_stream (struct usb_stv *stv680)
stv680_video_irq, stv680); stv680_video_irq, stv680);
stv680->urb[i] = urb; stv680->urb[i] = urb;
err = usb_submit_urb (stv680->urb[i], GFP_KERNEL); err = usb_submit_urb (stv680->urb[i], GFP_KERNEL);
if (err) if (err) {
PDEBUG (0, "STV(e): urb burned down in start stream"); PDEBUG (0, "STV(e): urb burned down with err "
"%d in start stream %d", err, i);
goto nomem_err;
}
} /* i STV680_NUMSBUF */ } /* i STV680_NUMSBUF */
stv680->framecount = 0; stv680->framecount = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment