diff options
author | Abylay Ospan <aospan@netup.ru> | 2009-09-16 13:08:06 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-09-19 00:15:48 -0300 |
commit | 8386c27f4786482c569a0f53f78ca6624068ba10 (patch) | |
tree | 9855b50f70ca1ef46e1e3cef0bd7c218f77e0731 /drivers/media/video/cx23885/cx23885-core.c | |
parent | 4f7cb8837cec65ade18b0e2655292fd98040234e (diff) | |
download | op-kernel-dev-8386c27f4786482c569a0f53f78ca6624068ba10.zip op-kernel-dev-8386c27f4786482c569a0f53f78ca6624068ba10.tar.gz |
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-core.c')
-rw-r--r-- | drivers/media/video/cx23885/cx23885-core.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/video/cx23885/cx23885-core.c b/drivers/media/video/cx23885/cx23885-core.c index 40d438d..c31284b 100644 --- a/drivers/media/video/cx23885/cx23885-core.c +++ b/drivers/media/video/cx23885/cx23885-core.c @@ -758,6 +758,7 @@ static int cx23885_dev_setup(struct cx23885_dev *dev) int i; mutex_init(&dev->lock); + mutex_init(&dev->gpio_lock); atomic_inc(&dev->refcount); |