X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fsound%2Fak4531_codec.h;h=8b18992376d5191cc8c90c5e8d2dc15881444589;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=ad7b52bc26272565fbf53621cb65b32f7b7f782e;hpb=87fc8d1bb10cd459024a742c6a10961fefcef18f;p=linux-2.6.git diff --git a/include/sound/ak4531_codec.h b/include/sound/ak4531_codec.h index ad7b52bc2..8b1899237 100644 --- a/include/sound/ak4531_codec.h +++ b/include/sound/ak4531_codec.h @@ -72,7 +72,7 @@ struct _snd_ak4531 { void (*private_free) (ak4531_t *ak4531); /* --- */ unsigned char regs[0x20]; - spinlock_t reg_lock; + struct semaphore reg_mutex; }; int snd_ak4531_mixer(snd_card_t * card, ak4531_t * _ak4531, ak4531_t ** rak4531);