diff options
author | Steven Toth <stoth@kernellabs.com> | 2010-07-31 15:27:01 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-10-21 07:54:55 -0200 |
commit | a97781ac918073117bb8e63619c77e0380bbcc8d (patch) | |
tree | 86c1aa3ca456bd36d4fb8bc9b650c991676b4d8c /drivers/media/video/saa7164/saa7164-buffer.c | |
parent | 12d3203e39db306f56611b3f47ba425ca6a409f9 (diff) |
[media] saa7164: adjust the PS pack size handling to fill buffers 100%
Signed-off-by: Steven Toth <stoth@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/saa7164/saa7164-buffer.c')
-rw-r--r-- | drivers/media/video/saa7164/saa7164-buffer.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/video/saa7164/saa7164-buffer.c b/drivers/media/video/saa7164/saa7164-buffer.c index b75157d411d..5f45ea7f3d7 100644 --- a/drivers/media/video/saa7164/saa7164-buffer.c +++ b/drivers/media/video/saa7164/saa7164-buffer.c @@ -142,7 +142,8 @@ struct saa7164_buffer *saa7164_buffer_alloc(struct saa7164_port *port, buf->pt_cpu, (long)buf->pt_dma, buf->pt_size); /* Format the Page Table Entries to point into the data buffer */ - for (i = 0 ; i < SAA7164_PT_ENTRIES; i++) { +// for (i = 0 ; i < SAA7164_PT_ENTRIES; i++) { + for (i = 0 ; i < 10; i++) { *(buf->pt_cpu + i) = buf->dma + (i * 0x1000); /* TODO */ |