diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-06-25 14:33:41 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-07-18 13:24:21 -0400 |
commit | 2f3ed0538b2ac6d63b95c04b0ee0e7b9ac1ee220 (patch) | |
tree | 10b2d3dde6cf2d507485e4beda070e92f62babbd /drivers/media | |
parent | 2d9078f73eafb2606e1adbb4e551d0cf1f5daf89 (diff) |
V4L/DVB (5790): Fix error handling for stv680
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/video/stv680.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/media/video/stv680.c b/drivers/media/video/stv680.c index bf3aa8d2d57e..4dc5bc714b95 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) | |||
715 | stv680_video_irq, stv680); | 715 | stv680_video_irq, stv680); |
716 | stv680->urb[i] = urb; | 716 | stv680->urb[i] = urb; |
717 | err = usb_submit_urb (stv680->urb[i], GFP_KERNEL); | 717 | err = usb_submit_urb (stv680->urb[i], GFP_KERNEL); |
718 | if (err) | 718 | if (err) { |
719 | PDEBUG (0, "STV(e): urb burned down in start stream"); | 719 | PDEBUG (0, "STV(e): urb burned down with err " |
720 | "%d in start stream %d", err, i); | ||
721 | goto nomem_err; | ||
722 | } | ||
720 | } /* i STV680_NUMSBUF */ | 723 | } /* i STV680_NUMSBUF */ |
721 | 724 | ||
722 | stv680->framecount = 0; | 725 | stv680->framecount = 0; |