summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2007-08-09 11:29:33 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-08-09 11:29:33 -0300
commit20196eec56534841c8b4e62498bb3476682c9d57 (patch)
treec008c46ac0e6c898b3e204f33f5f453f040b10ec /linux
parent61b21f2d72bc70d0ce269eeee3a556fffac23178 (diff)
downloadmediapointer-dvb-s2-20196eec56534841c8b4e62498bb3476682c9d57.tar.gz
mediapointer-dvb-s2-20196eec56534841c8b4e62498bb3476682c9d57.tar.bz2
From: Simon Arlott <simon@fire.lp0.eu>
Since videobuf_waiton is called with intr=1, it can return -EINTR and therefore err may be non-zero. This happens when the system goes into the standby state. Without the BUG() occurring, there's no problem with standby mode while DVB is being used. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux')
-rw-r--r--linux/drivers/media/video/video-buf-dvb.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/linux/drivers/media/video/video-buf-dvb.c b/linux/drivers/media/video/video-buf-dvb.c
index 4ee7c26af..186d7f203 100644
--- a/linux/drivers/media/video/video-buf-dvb.c
+++ b/linux/drivers/media/video/video-buf-dvb.c
@@ -62,7 +62,6 @@ static int videobuf_dvb_thread(void *data)
struct videobuf_buffer, stream);
list_del(&buf->stream);
err = videobuf_waiton(buf,0,1);
- BUG_ON(0 != err);
/* no more feeds left or stop_feed() asked us to quit */
if (0 == dvb->nfeeds)