summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx23885/cx23885.h
diff options
context:
space:
mode:
authorAbylay Ospan <aospan@netup.ru>2009-09-16 18:08:06 +0200
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-09-19 05:15:48 +0200
commit8386c27f4786482c569a0f53f78ca6624068ba10 (patch)
tree9855b50f70ca1ef46e1e3cef0bd7c218f77e0731 /drivers/media/video/cx23885/cx23885.h
parentV4L/DVB (12954): gspca - gl860: Addition of GL860 based webcams (diff)
downloadlinux-8386c27f4786482c569a0f53f78ca6624068ba10.tar.xz
linux-8386c27f4786482c569a0f53f78ca6624068ba10.zip
V4L/DVB (12956): Fix gpio mutex in NetUP Dual DVB-S2 CI card.
The card uses the same cx23885 gpio lines for two adapters. In case of there is several cards in system we must implement gpio mutex per cx23885 chip. Signed-off-by: Abylay Ospan <aospan@netup.ru> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/cx23885/cx23885.h')
-rw-r--r--drivers/media/video/cx23885/cx23885.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/video/cx23885/cx23885.h b/drivers/media/video/cx23885/cx23885.h
index 86f26947bb78..bee689104a20 100644
--- a/drivers/media/video/cx23885/cx23885.h
+++ b/drivers/media/video/cx23885/cx23885.h
@@ -325,6 +325,7 @@ struct cx23885_dev {
int nr;
struct mutex lock;
+ struct mutex gpio_lock;
/* board details */
unsigned int board;