V4L/DVB (8154): Fix protection problems in the main driver.
authorJean-Francois Moine <moinejf@free.fr>
Sun, 4 May 2008 09:46:21 +0000 (06:46 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Sun, 20 Jul 2008 10:14:40 +0000 (07:14 -0300)
commit4aa0d037a6c8e6b37ecfd986a444f83190c32a21
tree37ec7366de97498236b82048e7c10e0d6ebe22e2
parente2997a72ddfafc25bd0c8f1f52bcf41979d5a559
V4L/DVB (8154): Fix protection problems in the main driver.

- Protect format change when streaming active.
- Protect USB exchanges on close.
- Set a timeout in frame wait.
- Have only one capture file and free the resources when closing this file.
- Simplify the URB buffer.
- Don't reset the control values at open time in pac207.
- Fix compilation warnings of stk014.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/gspca/gspca.c
drivers/media/video/gspca/gspca.h
drivers/media/video/gspca/pac207.c
drivers/media/video/gspca/stk014.c