summaryrefslogtreecommitdiff
path: root/drivers/staging
diff options
context:
space:
mode:
authorDmitri Belimov <d.belimov@gmail.com>2010-12-28 21:49:07 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-12-29 08:17:21 -0200
commit427aacfe1d0c540bf80e5243d18ba1272f9b756f (patch)
treed944246954225bc7b3b52c30b37a93eed95f9100 /drivers/staging
parentaa777a88b2d73f710b86b955e0c738af91e9e452 (diff)
[media] tm6000: Fix mutex unbalance
Hi Fix never unlocked mutex. No more crash after removing USB stick. With my best regards, Dmitry. Signed-off-by: Beholder Intl. Ltd. Dmitry Belimov <d.belimov@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/staging')
-rw-r--r--drivers/staging/tm6000/tm6000-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/tm6000/tm6000-core.c b/drivers/staging/tm6000/tm6000-core.c
index 8c897d79ce7a..96aed4ace467 100644
--- a/drivers/staging/tm6000/tm6000-core.c
+++ b/drivers/staging/tm6000/tm6000-core.c
@@ -722,5 +722,5 @@ void tm6000_close_extension(struct tm6000_core *dev)
ops->fini(dev);
}
}
- mutex_lock(&tm6000_devlist_mutex);
+ mutex_unlock(&tm6000_devlist_mutex);
}