Skip to content

Commit

Permalink
V4L/DVB (5790): Fix error handling for stv680
Browse files Browse the repository at this point in the history
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
  • Loading branch information
Mauro Carvalho Chehab committed Jul 18, 2007
1 parent 2d9078f commit 2f3ed05
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions drivers/media/video/stv680.c
Original file line number Diff line number Diff line change
Expand Up @@ -715,8 +715,11 @@ static int stv680_start_stream (struct usb_stv *stv680)
stv680_video_irq, stv680);
stv680->urb[i] = urb;
err = usb_submit_urb (stv680->urb[i], GFP_KERNEL);
if (err)
PDEBUG (0, "STV(e): urb burned down in start stream");
if (err) {
PDEBUG (0, "STV(e): urb burned down with err "
"%d in start stream %d", err, i);
goto nomem_err;
}
} /* i STV680_NUMSBUF */

stv680->framecount = 0;
Expand Down

0 comments on commit 2f3ed05

Please sign in to comment.