]> git.baikalelectronics.ru Git - kernel.git/commit
V4L/DVB: Fix color format with tm6010
authorMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 3 May 2010 07:25:59 +0000 (04:25 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 19 May 2010 15:58:22 +0000 (12:58 -0300)
commite71557c5c0b72c57a94352ab6f1590c6c369a62f
tree04e04b8a80bd6d36f3db1599f59531a3177c37dd
parentb04c85a09acfb1dc039e148a4ac73703aa2440e5
V4L/DVB: Fix color format with tm6010

The values for the fourcc format were correct, but applied to the
wrong register. With this change, video is now barely working again with
tm6000.

While here, let's remove, for now, the memset. This way, people can
have some image when testing this device.

Yet to be fixed: parts of the image frame are missed. As we don't clean
the buffers anymore, this is "recovered" by repeating the values from a
previous frame. The quality is bad, since the image pixels will contain
data from some previous frames, generating weird delay artifacts.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/staging/tm6000/tm6000-core.c
drivers/staging/tm6000/tm6000-video.c