Commit dfd36d83 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

V4L/DVB: tm6000: fix mutex lock unbalance

Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 762e17eb
......@@ -496,6 +496,7 @@ static int tm6000_init_dev(struct tm6000_core *dev)
}
#endif
}
mutex_unlock(&dev->lock);
return 0;
err2:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment