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)
commit4223871357a2b64248b3c41c8d89fbf03c2531ea
tree04e04b8a80bd6d36f3db1599f59531a3177c37dd
parent9d5164da8d8dd63bfb4e3070a5e27d79af0f1654
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