提交 0b5f56d6 编写于 作者: V Valentin Zagura 提交者: Mauro Carvalho Chehab

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: NValentin Zagura <puthre@gmail.com>
Signed-off-by: NMichael Krufky <mkrufky@linuxtv.org>
Signed-off-by: NMauro Carvalho Chehab <mchehab@infradead.org>
上级 6fe00b0e
...@@ -1569,6 +1569,7 @@ static int mpeg_release(struct inode *inode, struct file *file) ...@@ -1569,6 +1569,7 @@ static int mpeg_release(struct inode *inode, struct file *file)
BLACKBIRD_RAW_BITS_NONE BLACKBIRD_RAW_BITS_NONE
); );
cx8802_cancel_buffers(fh->dev);
/* stop mpeg capture */ /* stop mpeg capture */
if (fh->mpegq.streaming) if (fh->mpegq.streaming)
videobuf_streamoff(&fh->mpegq); videobuf_streamoff(&fh->mpegq);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册