projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
170a346
)
[ALSA] fix a wrong lock
author
Clemens Ladisch
<clemens@ladisch.de>
Tue, 2 May 2006 13:33:25 +0000
(15:33 +0200)
committer
Jaroslav Kysela
<perex@suse.cz>
Thu, 22 Jun 2006 19:33:16 +0000
(21:33 +0200)
fix a typo in the info locking code
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
sound/core/info.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/core/info.c
b/sound/core/info.c
index 4188f76add75562d22bfe3a579c433eee76482ad..c8eeaea9d695e983c81861cb30a862a0ded54fbe 100644
(file)
--- a/
sound/core/info.c
+++ b/
sound/core/info.c
@@
-267,7
+267,7
@@
static ssize_t snd_info_entry_write(struct file *file, const char __user *buffer
buf = data->wbuffer;
if (buf == NULL)
return -EIO;
- mutex_
un
lock(&entry->access);
+ mutex_lock(&entry->access);
if (pos + count >= buf->len) {
if (resize_info_buffer(buf, pos + count)) {
mutex_unlock(&entry->access);