V4L/DVB: ivtv: Avoid hard system lock on decoder output mode change
authorIan Armstrong <ian@iarmst.demon.co.uk>
Sat, 13 Mar 2010 23:22:34 +0000 (20:22 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 18 May 2010 03:47:15 +0000 (00:47 -0300)
commit2443baeaa01388f56824c55c087510312b8d8197
treee23643dce16babebfad3087dbb103249a28dec2d
parentf978ac90b2cfa79cb075f74fd5c403e9f9ec4246
V4L/DVB: ivtv: Avoid hard system lock on decoder output mode change

Changing the decoder video standard just prior to, or during, the output of
the lower field may result in a hard system lock. To avoid this, try to ensure
the firmware call occurs only during the first 100 lines of the top field.

(Minor comment addition and a line break added Andy Walls <awalls@radix.net>.)

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-driver.c
drivers/media/video/ivtv/ivtv-ioctl.c