aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/tm6000/tm6000-usb-isoc.h
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2008-01-09 18:12:39 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-05-18 00:40:08 -0300
commit204193d95974df3ea4a6309cc68948e3a9596e3c (patch)
treec58254ad9619745b2b2948152017bfd176d8b35c /drivers/staging/tm6000/tm6000-usb-isoc.h
parentV4L/DVB (12826): tm6000: adds 10ms delay between two consecutive i2c write ops (diff)
downloadlinux-dev-204193d95974df3ea4a6309cc68948e3a9596e3c.tar.xz
linux-dev-204193d95974df3ea4a6309cc68948e3a9596e3c.zip
V4L/DVB (12827): tm6000: fix image hangs
A previous committed patch hanged image output. This patch corrects this issue. It also warrants that buffer is updated for each frame0+frame1 frame set. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/staging/tm6000/tm6000-usb-isoc.h')
-rw-r--r--drivers/staging/tm6000/tm6000-usb-isoc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/staging/tm6000/tm6000-usb-isoc.h b/drivers/staging/tm6000/tm6000-usb-isoc.h
index 10e72c04f74f..24b0fd07900e 100644
--- a/drivers/staging/tm6000/tm6000-usb-isoc.h
+++ b/drivers/staging/tm6000/tm6000-usb-isoc.h
@@ -50,4 +50,8 @@ struct usb_isoc_ctl {
/* Stores the number of received fields */
int nfields;
+
+ /* Checks if a complete field were received */
+ int last_line;
+ unsigned int fields:2;
};