--------------------- PatchSet 3097 Date: 2005/04/07 20:21:21 Author: tiwai Branch: HEAD Tag: (none) Log: Summary: Fix "semaphore is not ready" problem with snd-intel8x0m 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 Members: pci/intel8x0m.c:1.30->1.31 Index: /sound/pci/intel8x0m.c diff -u /sound/pci/intel8x0m.c.old /sound/pci/intel8x0m.c --- /sound/pci/intel8x0m.c.old Tue Mar 8 08:35:32 2005 +++ /sound/pci/intel8x0m.c Thu Apr 7 12:21:21 2005 @@ -500,6 +500,8 @@ res = 0xffff; } } + if (reg == AC97_GPIO_STATUS) + iagetword(chip, 0); /* clear semaphore */ return res; }