Commit 0b5f56d6 authored by Valentin Zagura's avatar Valentin Zagura Committed by Mauro Carvalho Chehab
Browse files

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: default avatarValentin Zagura <puthre@gmail.com>
Signed-off-by: default avatarMichael Krufky <mkrufky@linuxtv.org>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
parent 6fe00b0e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1569,6 +1569,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);