summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/cx23885/cx23885.h
diff options
context:
space:
mode:
authorAbylay Ospan <aospan@netup.ru>2009-09-16 20:08:06 +0400
committerAbylay Ospan <aospan@netup.ru>2009-09-16 20:08:06 +0400
commitd54457b30694e04b54a5e2742a2ae42274d54e50 (patch)
treeb7a2d40517bb4f0286a92778144ee174999f1db7 /linux/drivers/media/video/cx23885/cx23885.h
parent7d2848a57e6a804443dba70e6ffd719c3145cb6a (diff)
downloadmediapointer-dvb-s2-d54457b30694e04b54a5e2742a2ae42274d54e50.tar.gz
mediapointer-dvb-s2-d54457b30694e04b54a5e2742a2ae42274d54e50.tar.bz2
Fix gpio mutex in NetUP Dual DVB-S2 CI card.
From: Abylay Ospan <aospan@netup.ru> 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>
Diffstat (limited to 'linux/drivers/media/video/cx23885/cx23885.h')
-rw-r--r--linux/drivers/media/video/cx23885/cx23885.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/linux/drivers/media/video/cx23885/cx23885.h b/linux/drivers/media/video/cx23885/cx23885.h
index 6ddabc263..7605871ab 100644
--- a/linux/drivers/media/video/cx23885/cx23885.h
+++ b/linux/drivers/media/video/cx23885/cx23885.h
@@ -326,6 +326,7 @@ struct cx23885_dev {
int nr;
struct mutex lock;
+ struct mutex gpio_lock;
/* board details */
unsigned int board;