diff options
author | Sasha Khapyorsky <sashak@smlink.com> | 2005-04-07 20:21:21 +0200 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2005-05-29 09:58:31 +0200 |
commit | 2c56c47f678b0388290686d5a0988d8806ffe5cc (patch) | |
tree | 93d7f87f5d1b80bb98e88ef76be2b9f8bb4f9322 /sound/pci/intel8x0m.c | |
parent | 5f0dccf8500b0cc2ff247f626bc249bc184fd184 (diff) |
[ALSA] Fix 'semaphore is not ready' problem with snd-intel8x0m
Intel8x0-modem driver
With some intel based ac97 modems codec access semaphore is not cleared
after 0x54 AC97 register (GPIO_STATUS) reads. This may causes problems
with newly applied modem mixer (Off-hook switch) and in other cases.
Signed-off-by: Sasha Khapyorsky <sashak@smlink.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/intel8x0m.c')
-rw-r--r-- | sound/pci/intel8x0m.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/pci/intel8x0m.c b/sound/pci/intel8x0m.c index 67da096d659b..f9972b20050d 100644 --- a/sound/pci/intel8x0m.c +++ b/sound/pci/intel8x0m.c @@ -500,6 +500,8 @@ static unsigned short snd_intel8x0_codec_read(ac97_t *ac97, res = 0xffff; } } + if (reg == AC97_GPIO_STATUS) + iagetword(chip, 0); /* clear semaphore */ return res; } |