V4L/DVB: tm6000: fix mutex lock unbalance

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
Mauro Carvalho Chehab 2010-02-12 03:52:46 -03:00
parent 762e17eb52
commit dfd36d83d9
1 changed files with 1 additions and 0 deletions

View File

@ -496,6 +496,7 @@ static int tm6000_init_dev(struct tm6000_core *dev)
}
#endif
}
mutex_unlock(&dev->lock);
return 0;
err2: