diff options
author | Valentin Zagura <puthre@gmail.com> | 2006-04-20 21:56:25 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-06-25 00:58:18 -0400 |
commit | 0b5f56d67821587495eb47014750e2ae7373d635 (patch) | |
tree | 811e988facd9eda40c315f8a7cf4dcffc35e9434 /drivers/media/video/cx88/cx88-blackbird.c | |
parent | 6fe00b0ed10833a3faf18319be10620ed565bd24 (diff) |
V4L/DVB (3827): Cx88-blackbird: clean up the buffers when closing the MPEG stream
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>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/cx88/cx88-blackbird.c')
-rw-r--r-- | drivers/media/video/cx88/cx88-blackbird.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/video/cx88/cx88-blackbird.c b/drivers/media/video/cx88/cx88-blackbird.c index be367c5c5293..10556d3d0838 100644 --- a/drivers/media/video/cx88/cx88-blackbird.c +++ b/drivers/media/video/cx88/cx88-blackbird.c | |||
@@ -1569,6 +1569,7 @@ static int mpeg_release(struct inode *inode, struct file *file) | |||
1569 | BLACKBIRD_RAW_BITS_NONE | 1569 | BLACKBIRD_RAW_BITS_NONE |
1570 | ); | 1570 | ); |
1571 | 1571 | ||
1572 | cx8802_cancel_buffers(fh->dev); | ||
1572 | /* stop mpeg capture */ | 1573 | /* stop mpeg capture */ |
1573 | if (fh->mpegq.streaming) | 1574 | if (fh->mpegq.streaming) |
1574 | videobuf_streamoff(&fh->mpegq); | 1575 | videobuf_streamoff(&fh->mpegq); |