projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa777a8
)
[media] tm6000: Fix mutex unbalance
author
Dmitri Belimov
<d.belimov@gmail.com>
Wed, 29 Dec 2010 00:49:07 +0000
(21:49 -0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Wed, 29 Dec 2010 10:17:21 +0000
(08:17 -0200)
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>
drivers/staging/tm6000/tm6000-core.c
patch
|
blob
|
history
diff --git
a/drivers/staging/tm6000/tm6000-core.c
b/drivers/staging/tm6000/tm6000-core.c
index 8c897d79ce7a3283d53d0fd68f50b9cbcaac5f02..96aed4ace46739e3b76aac54c299974bde44877a 100644
(file)
--- 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_
un
lock(&tm6000_devlist_mutex);
}