Browse Source

V4L/DVB: tm6000: fix mutex lock unbalance

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab 15 years ago
parent
commit
dfd36d83d9
1 changed files with 1 additions and 0 deletions
  1. 1 0
      drivers/staging/tm6000/tm6000-cards.c

+ 1 - 0
drivers/staging/tm6000/tm6000-cards.c

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