diff options
author | Dmitri Belimov <d.belimov@gmail.com> | 2010-12-28 21:49:07 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-12-29 08:17:21 -0200 |
commit | 427aacfe1d0c540bf80e5243d18ba1272f9b756f (patch) | |
tree | d944246954225bc7b3b52c30b37a93eed95f9100 | |
parent | aa777a88b2d73f710b86b955e0c738af91e9e452 (diff) | |
download | linux-427aacfe1d0c540bf80e5243d18ba1272f9b756f.tar.gz linux-427aacfe1d0c540bf80e5243d18ba1272f9b756f.tar.bz2 linux-427aacfe1d0c540bf80e5243d18ba1272f9b756f.zip |
[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>
-rw-r--r-- | drivers/staging/tm6000/tm6000-core.c | 2 |
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); } |