You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
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>
This commit is contained in:
committed by
Mauro Carvalho Chehab
parent
4f7cb8837c
commit
8386c27f47
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user