diff options
author | Sasha Khapyorsky <sashak@smlink.com> | 2005-04-07 14:21:21 -0400 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2005-05-29 03:58:31 -0400 |
commit | 2c56c47f678b0388290686d5a0988d8806ffe5cc (patch) | |
tree | 93d7f87f5d1b80bb98e88ef76be2b9f8bb4f9322 /sound | |
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')
-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, | |||
500 | res = 0xffff; | 500 | res = 0xffff; |
501 | } | 501 | } |
502 | } | 502 | } |
503 | if (reg == AC97_GPIO_STATUS) | ||
504 | iagetword(chip, 0); /* clear semaphore */ | ||
503 | return res; | 505 | return res; |
504 | } | 506 | } |
505 | 507 | ||