summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/gspca/gspca.h
diff options
context:
space:
mode:
authorJean-Francois Moine <moinejf@free.fr>2009-12-02 07:14:33 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-12-16 00:18:01 -0200
commit8c4ebae45f8fa189746656a71d8a0ed21d569344 (patch)
tree85f467b7ffa8452d62423d0c9c6790a4c828f6ac /drivers/media/video/gspca/gspca.h
parentc4322bfca8907109689eb6b244258bf52277f7dc (diff)
downloadblackbird-op-linux-8c4ebae45f8fa189746656a71d8a0ed21d569344.tar.gz
blackbird-op-linux-8c4ebae45f8fa189746656a71d8a0ed21d569344.zip
V4L/DVB (13566): gspca - main: New variable usb_err for USB exchanges.
Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/gspca/gspca.h')
-rw-r--r--drivers/media/video/gspca/gspca.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/video/gspca/gspca.h b/drivers/media/video/gspca/gspca.h
index a55c0a04ecf7..59c7941da999 100644
--- a/drivers/media/video/gspca/gspca.h
+++ b/drivers/media/video/gspca/gspca.h
@@ -180,6 +180,7 @@ struct gspca_dev {
struct mutex usb_lock; /* usb exchange protection */
struct mutex read_lock; /* read protection */
struct mutex queue_lock; /* ISOC queue protection */
+ int usb_err; /* USB error - protected by usb_lock */
#ifdef CONFIG_PM
char frozen; /* suspend - resume */
#endif
OpenPOWER on IntegriCloud