summaryrefslogtreecommitdiff
path: root/linux/drivers
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2007-06-25 15:33:41 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-06-25 15:33:41 -0300
commit925af724eb2cbaeacef7abf9245745633b6a8841 (patch)
tree55609ec5e8b575d272ed5ea2565d5d83407191cf /linux/drivers
parent5292e9a3f4962d5d5ba1afb41946469ffcacd6be (diff)
downloadmediapointer-dvb-s2-925af724eb2cbaeacef7abf9245745633b6a8841.tar.gz
mediapointer-dvb-s2-925af724eb2cbaeacef7abf9245745633b6a8841.tar.bz2
Fix error handling for stv680
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers')
-rw-r--r--linux/drivers/media/video/stv680.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/linux/drivers/media/video/stv680.c b/linux/drivers/media/video/stv680.c
index 7b7783045..e09a0c012 100644
--- a/linux/drivers/media/video/stv680.c
+++ b/linux/drivers/media/video/stv680.c
@@ -722,8 +722,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;