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 43620a3..268a7de 100644 (file)
@@ -496,6 +496,7 @@ static int tm6000_init_dev(struct tm6000_core *dev)
                }
 #endif
        }
+       mutex_unlock(&dev->lock);
        return 0;
 
 err2: