aboutsummaryrefslogtreecommitdiffstats
path: root/sound/i2c/i2c.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2006-01-16 10:31:42 -0500
committerJaroslav Kysela <perex@suse.cz>2006-03-22 04:24:57 -0500
commitef9f0a42db987e7e2df72289fb4522d24027786b (patch)
tree34f3ad0c1abdbeb6df5a1d5137db6b4f34695f5a /sound/i2c/i2c.c
parent1a60d4c5a0c4028559585a74e48593b16e1ca9b2 (diff)
[ALSA] semaphore -> mutex (driver part)
Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/i2c/i2c.c')
-rw-r--r--sound/i2c/i2c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/i2c/i2c.c b/sound/i2c/i2c.c
index c4e1f2c23ced..edfe76fb0074 100644
--- a/sound/i2c/i2c.c
+++ b/sound/i2c/i2c.c
@@ -88,7 +88,7 @@ int snd_i2c_bus_create(struct snd_card *card, const char *name,
88 bus = kzalloc(sizeof(*bus), GFP_KERNEL); 88 bus = kzalloc(sizeof(*bus), GFP_KERNEL);
89 if (bus == NULL) 89 if (bus == NULL)
90 return -ENOMEM; 90 return -ENOMEM;
91 init_MUTEX(&bus->lock_mutex); 91 mutex_init(&bus->lock_mutex);
92 INIT_LIST_HEAD(&bus->devices); 92 INIT_LIST_HEAD(&bus->devices);
93 INIT_LIST_HEAD(&bus->buses); 93 INIT_LIST_HEAD(&bus->buses);
94 bus->card = card; 94 bus->card = card;