From: Takashi Iwai Date: Wed, 6 May 2009 15:25:42 +0000 (+0200) Subject: ALSA: ice1724 - Add PCI postint to reset sequence X-Git-Tag: v2.6.31-rc1~363^2~17^2~2 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=d82b64f4764755d765038cf95b1dbe7db039592a;p=karo-tx-linux.git ALSA: ice1724 - Add PCI postint to reset sequence Add the PCI posting to ensure the reset sequence in snd_vt1724_chip_reset(). Signed-off-by: Takashi Iwai --- diff --git a/sound/pci/ice1712/ice1724.c b/sound/pci/ice1712/ice1724.c index 8afa043dab0e..1f05c59690a1 100644 --- a/sound/pci/ice1712/ice1724.c +++ b/sound/pci/ice1712/ice1724.c @@ -2258,8 +2258,10 @@ static int __devinit snd_vt1724_read_eeprom(struct snd_ice1712 *ice, static void __devinit snd_vt1724_chip_reset(struct snd_ice1712 *ice) { outb(VT1724_RESET , ICEREG1724(ice, CONTROL)); + inb(ICEREG1724(ice, CONTROL)); /* pci posting flush */ msleep(10); outb(0, ICEREG1724(ice, CONTROL)); + inb(ICEREG1724(ice, CONTROL)); /* pci posting flush */ msleep(10); }