commit | f4a747f155fe375231196ec3d26fcb6e3675d82f | [log] [tgz] |
---|---|---|
author | Clemens Ladisch <clemens@ladisch.de> | Tue May 02 15:33:25 2006 +0200 |
committer | Jaroslav Kysela <perex@suse.cz> | Thu Jun 22 21:33:16 2006 +0200 |
tree | 1092a52d4df60019270408f01bcafe25870fa020 | |
parent | 170a34605c14a90df5f4a78e0b4ca643be6ef8ba [diff] [blame] |
[ALSA] fix a wrong lock fix a typo in the info locking code Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
diff --git a/sound/core/info.c b/sound/core/info.c index 4188f76..c8eeaea 100644 --- a/sound/core/info.c +++ b/sound/core/info.c
@@ -267,7 +267,7 @@ buf = data->wbuffer; if (buf == NULL) return -EIO; - mutex_unlock(&entry->access); + mutex_lock(&entry->access); if (pos + count >= buf->len) { if (resize_info_buffer(buf, pos + count)) { mutex_unlock(&entry->access);