소스 검색

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>
Valentin Zagura 19 년 전
부모
커밋
0b5f56d678
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      drivers/media/video/cx88/cx88-blackbird.c

+ 1 - 0
drivers/media/video/cx88/cx88-blackbird.c

@@ -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);