From: Mauro Carvalho Chehab Date: Mon, 25 Jun 2007 18:33:41 +0000 (-0300) Subject: V4L/DVB (5790): Fix error handling for stv680 X-Git-Tag: v2.6.23-rc1~493^2~39 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2f3ed0538b2ac6d63b95c04b0ee0e7b9ac1ee220;p=linux-2.6 V4L/DVB (5790): Fix error handling for stv680 Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/video/stv680.c b/drivers/media/video/stv680.c index bf3aa8d2d5..4dc5bc714b 100644 --- a/drivers/media/video/stv680.c +++ b/drivers/media/video/stv680.c @@ -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;