projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ALSA: ak411x: Fix race of reinit() calls
[linux-2.6-microblaze.git]
/
include
/
sound
/
ak4113.h
diff --git
a/include/sound/ak4113.h
b/include/sound/ak4113.h
index
f4fbf68
..
58c1456
100644
(file)
--- a/
include/sound/ak4113.h
+++ b/
include/sound/ak4113.h
@@
-287,6
+287,7
@@
struct ak4113 {
ak4113_read_t *read;
void *private_data;
atomic_t wq_processing;
+ struct mutex reinit_mutex;
spinlock_t lock;
unsigned char regmap[AK4113_WRITABLE_REGS];
struct snd_kcontrol *kctls[AK4113_CONTROLS];