提交 d6102900 编写于 作者: H Hans Verkuil 提交者: Mauro Carvalho Chehab

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

Signed-off-by: NHans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: NMauro Carvalho Chehab <mchehab@infradead.org>
上级 25415cf3
...@@ -625,8 +625,8 @@ static int __devinit ivtv_init_struct1(struct ivtv *itv) ...@@ -625,8 +625,8 @@ static int __devinit ivtv_init_struct1(struct ivtv *itv)
mutex_init(&itv->i2c_bus_lock); mutex_init(&itv->i2c_bus_lock);
mutex_init(&itv->udma.lock); mutex_init(&itv->udma.lock);
itv->lock = SPIN_LOCK_UNLOCKED; spin_lock_init(&itv->lock);
itv->dma_reg_lock = SPIN_LOCK_UNLOCKED; spin_lock_init(&itv->dma_reg_lock);
itv->irq_work_queues = create_workqueue(itv->name); itv->irq_work_queues = create_workqueue(itv->name);
if (itv->irq_work_queues == NULL) { if (itv->irq_work_queues == NULL) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册