mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-19 02:04:19 +08:00
V4L/DVB (13789): [Mantis CA] Initialize the mutex
Signed-off-by: Manu Abraham <manu@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
f684336bba
commit
99b55b2c44
@ -156,6 +156,8 @@ int mantis_ca_init(struct mantis_pci *mantis)
|
||||
ca->en50221.poll_slot_status = mantis_slot_status;
|
||||
ca->en50221.data = ca;
|
||||
|
||||
mutex_init(&ca->ca_lock);
|
||||
|
||||
dprintk(verbose, MANTIS_ERROR, 1, "Registering EN50221 device");
|
||||
if ((result = dvb_ca_en50221_init(dvb_adapter, &ca->en50221, ca_flags, 1)) != 0) {
|
||||
dprintk(verbose, MANTIS_ERROR, 1, "EN50221: Initialization failed");
|
||||
|
Loading…
Reference in New Issue
Block a user