V4L/DVB (12800): tm6000: fix tm6000 analog video buffer handling
authorMauro Carvalho Chehab <mchehab@infradead.org>
Sat, 22 Sep 2007 05:06:25 +0000 (02:06 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 18 May 2010 03:39:45 +0000 (00:39 -0300)
commita228618c1a2c15da35f8cc60286a25541fbc6348
treedffada0bf8f89bd1a82deced6c090dd993037320
parentcc6c60d912ceeb390a0969a7c76dc05fa3fffaa9
V4L/DVB (12800): tm6000: fix tm6000 analog video buffer handling

Previously, there were no sync between video buffer filling and received
URBs. So, the presented image were a mix of frame and frame-1. Now, a
filled buffer should contain only data for that frame.

allocates a maximum of 64 KB per each URB area. This fixed two bugs:

- Sometimes, there were no available continuos block of about 1 MB;
- Image weren't not properly updated, since parts of the URBs aren't
  updated.

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