summaryrefslogtreecommitdiff
path: root/linux/drivers
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2006-04-20 21:56:25 -0400
committerMichael Krufky <mkrufky@linuxtv.org>2006-04-20 21:56:25 -0400
commit196aa5c354858ff740aedc08e450d0b666c493a6 (patch)
treef40c09b6cfa9aa6d854425c478ddb93c90de2204 /linux/drivers
parent5f0d95aa6fa982a0ceb0e3760c15cc8e02d8997f (diff)
downloadmediapointer-dvb-s2-196aa5c354858ff740aedc08e450d0b666c493a6.tar.gz
mediapointer-dvb-s2-196aa5c354858ff740aedc08e450d0b666c493a6.tar.bz2
cx88-blackbird: clean up the buffers when closing the MPEG stream
From: Valentin Zagura <puthre@gmail.com> This patch cleans up the buffer queue when the MPEG stream is closed, preventing the message, 'cx8802_timeout' Signed-off-by: Valentin Zagura <puthre@gmail.com> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Diffstat (limited to 'linux/drivers')
-rw-r--r--linux/drivers/media/video/cx88/cx88-blackbird.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/linux/drivers/media/video/cx88/cx88-blackbird.c b/linux/drivers/media/video/cx88/cx88-blackbird.c
index 73580db8b..f34a76511 100644
--- a/linux/drivers/media/video/cx88/cx88-blackbird.c
+++ b/linux/drivers/media/video/cx88/cx88-blackbird.c
@@ -1602,6 +1602,7 @@ static int mpeg_release(struct inode *inode, struct file *file)
BLACKBIRD_RAW_BITS_NONE
);
+ cx8802_cancel_buffers(fh->dev);
/* stop mpeg capture */
if (fh->mpegq.streaming)
videobuf_streamoff(&fh->mpegq);