From: Valentin Zagura Date: Fri, 21 Apr 2006 01:56:25 +0000 (-0300) Subject: V4L/DVB (3827): Cx88-blackbird: clean up the buffers when closing the MPEG stream X-Git-Tag: v2.6.18-rc1~862^2~208 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=0b5f56d67821587495eb47014750e2ae7373d635;p=~emulex%2Finfiniband.git 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 Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/video/cx88/cx88-blackbird.c b/drivers/media/video/cx88/cx88-blackbird.c index be367c5c529..10556d3d083 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) BLACKBIRD_RAW_BITS_NONE ); + cx8802_cancel_buffers(fh->dev); /* stop mpeg capture */ if (fh->mpegq.streaming) videobuf_streamoff(&fh->mpegq);