diff options
author | Abylay Ospan <aospan@netup.ru> | 2009-09-16 20:08:06 +0400 |
---|---|---|
committer | Abylay Ospan <aospan@netup.ru> | 2009-09-16 20:08:06 +0400 |
commit | d54457b30694e04b54a5e2742a2ae42274d54e50 (patch) | |
tree | b7a2d40517bb4f0286a92778144ee174999f1db7 /linux/drivers/media/video/cx23885/cx23885.h | |
parent | 7d2848a57e6a804443dba70e6ffd719c3145cb6a (diff) | |
download | mediapointer-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.h | 1 |
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; |