V4L/DVB: tm6000: fix mutex lock unbalance
authorMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 12 Feb 2010 06:52:46 +0000 (03:52 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 18 May 2010 03:44:00 +0000 (00:44 -0300)
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/staging/tm6000/tm6000-cards.c

index 43620a3f5ec1c0e2d694fa8acea4c9fbe37c8d99..268a7de20d6d62ffa88fb61b34cb1fe48881a8d0 100644 (file)
@@ -496,6 +496,7 @@ static int tm6000_init_dev(struct tm6000_core *dev)
                }
 #endif
        }
+       mutex_unlock(&dev->lock);
        return 0;
 
 err2: