]> err.no Git - linux-2.6/commit
V4L/DVB (8090): ivtv: yuv decoder lock fix (2)
authorIan Armstrong <ian@iarmst.demon.co.uk>
Sat, 21 Jun 2008 14:09:46 +0000 (11:09 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Sun, 20 Jul 2008 10:11:18 +0000 (07:11 -0300)
commit42b03fe16fe8cc2cd6575e25ed1872fd6f5da56f
tree4588b977376e16691559f0f839559d918907bc08
parent03c2808503b102971226007070c57410267d0b9d
V4L/DVB (8090): ivtv: yuv decoder lock fix (2)

The IVTV_IOC_DMA_FRAME ioctl fails to correctly 'start' the decoder. Although
yuv output will be correct, some functions which should be disabled while the
decoder is in use remain enabled. This can result in hardware registers being
corrupted, causing problems with the mpeg decoder. This patch ensures the
decoder 'start' sequence is called, disabling these functions until the
device is closed.

Signed-off-by: Ian Armstrong <ian@iarmst.demon.co.uk>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/ivtv/ivtv-ioctl.c