[git:v4l-dvb/master] V4L/DVB: tm6000: fix mutex lock unbalance

From: Patch from Mauro Carvalho Chehab
Date: Thu Feb 18 2010 - 11:00:00 EST


From: Mauro Carvalho Chehab <mchehab@xxxxxxxxxx>

Signed-off-by: Mauro Carvalho Chehab <mchehab@xxxxxxxxxx>

drivers/staging/tm6000/tm6000-cards.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

---

http://git.linuxtv.org/v4l-dvb.git?a=commit;h=955ac2240299dca3b878a4a19e72cd7463f996b0

diff --git a/drivers/staging/tm6000/tm6000-cards.c b/drivers/staging/tm6000/tm6000-cards.c
index 8297801..c0159a1 100644
--- a/drivers/staging/tm6000/tm6000-cards.c
+++ b/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:
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/