aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorManu Abraham <abraham.manu@gmail.com>2009-12-04 03:34:44 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-01-17 08:55:42 -0500
commit99b55b2c4478e6370aaa85173f5090a070c50a08 (patch)
tree53e7baab9d66916a6280acc30440b75119150811 /drivers
parentf684336bba673b6656cb98144130ab52dafc3240 (diff)
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/dvb/mantis/mantis_ca.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/dvb/mantis/mantis_ca.c b/drivers/media/dvb/mantis/mantis_ca.c
index 177b04813ff0..53c01b3023cc 100644
--- a/drivers/media/dvb/mantis/mantis_ca.c
+++ b/drivers/media/dvb/mantis/mantis_ca.c
@@ -156,6 +156,8 @@ int mantis_ca_init(struct mantis_pci *mantis)
156 ca->en50221.poll_slot_status = mantis_slot_status; 156 ca->en50221.poll_slot_status = mantis_slot_status;
157 ca->en50221.data = ca; 157 ca->en50221.data = ca;
158 158
159 mutex_init(&ca->ca_lock);
160
159 dprintk(verbose, MANTIS_ERROR, 1, "Registering EN50221 device"); 161 dprintk(verbose, MANTIS_ERROR, 1, "Registering EN50221 device");
160 if ((result = dvb_ca_en50221_init(dvb_adapter, &ca->en50221, ca_flags, 1)) != 0) { 162 if ((result = dvb_ca_en50221_init(dvb_adapter, &ca->en50221, ca_flags, 1)) != 0) {
161 dprintk(verbose, MANTIS_ERROR, 1, "EN50221: Initialization failed"); 163 dprintk(verbose, MANTIS_ERROR, 1, "EN50221: Initialization failed");