]> git.baikalelectronics.ru Git - kernel.git/commit
V4L/DVB: ivtv: Really stop capture on device close
authorIan Armstrong <ian@iarmst.demon.co.uk>
Sun, 7 Mar 2010 00:37:04 +0000 (21:37 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 18 May 2010 03:46:43 +0000 (00:46 -0300)
commit743868831929561da0e75e107c98ccd9b3c526df
treecd52518a35d2acf9496e1267bf5753ab777a7699
parent0b05a1d2d5dc053ae49bd3f85a5217bd19fcedd5
V4L/DVB: ivtv: Really stop capture on device close

When a capture is started, the firmware also appears to start a secondary
stream. Unless this secondary stream is also stopped, the encoder will remain
active and not reinitialise for the next capture. Unfortunately, setting up
the video source can glitch the encoder and result in undesirable effects that
this initialisation will clear.

Signed-off-by: Ian Armstrong <ian@iarmst.demon.co.uk>
Signed-off-by: Andy Walls <awalls@radix.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/ivtv/ivtv-streams.c