mirror of https://gitee.com/openkylin/linux.git
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