summaryrefslogtreecommitdiff
path: root/drivers/staging/tm6000/tm6000-video.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2010-05-03 04:25:59 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-05-19 12:58:22 -0300
commit4223871357a2b64248b3c41c8d89fbf03c2531ea (patch)
tree04e04b8a80bd6d36f3db1599f59531a3177c37dd /drivers/staging/tm6000/tm6000-video.c
parent9d5164da8d8dd63bfb4e3070a5e27d79af0f1654 (diff)
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>
Diffstat (limited to 'drivers/staging/tm6000/tm6000-video.c')
-rw-r--r--drivers/staging/tm6000/tm6000-video.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/tm6000/tm6000-video.c b/drivers/staging/tm6000/tm6000-video.c
index bed758fe4c32..f694bb8638e9 100644
--- a/drivers/staging/tm6000/tm6000-video.c
+++ b/drivers/staging/tm6000/tm6000-video.c
@@ -151,8 +151,8 @@ static inline void get_next_buf(struct tm6000_dmaqueue *dma_q,
/* Cleans up buffer - Usefull for testing for frame/URB loss */
outp = videobuf_to_vmalloc(&(*buf)->vb);
- if (outp)
- memset(outp, 0, (*buf)->vb.size);
+// if (outp)
+// memset(outp, 0, (*buf)->vb.size);
return;
}