Skip to content
Snippets Groups Projects
Commit d6102900 authored by Hans Verkuil's avatar Hans Verkuil Committed by Mauro Carvalho Chehab
Browse files

V4L/DVB (5413): Use spin_lock_init to fix lockdep warnings.

parent 25415cf3
No related branches found
No related tags found
No related merge requests found
......@@ -625,8 +625,8 @@ static int __devinit ivtv_init_struct1(struct ivtv *itv)
mutex_init(&itv->i2c_bus_lock);
mutex_init(&itv->udma.lock);
itv->lock = SPIN_LOCK_UNLOCKED;
itv->dma_reg_lock = SPIN_LOCK_UNLOCKED;
spin_lock_init(&itv->lock);
spin_lock_init(&itv->dma_reg_lock);
itv->irq_work_queues = create_workqueue(itv->name);
if (itv->irq_work_queues == NULL) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment