diff options
author | Takashi Iwai <tiwai@suse.de> | 2009-05-06 11:25:42 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2009-05-06 11:25:42 -0400 |
commit | d82b64f4764755d765038cf95b1dbe7db039592a (patch) | |
tree | 7fd1474f1b3420440874ba56bd56e62046a7bebc | |
parent | a5b7b5c1d05387ffeaf0487482806ec6c5968ac7 (diff) |
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 <tiwai@suse.de>
-rw-r--r-- | sound/pci/ice1712/ice1724.c | 2 |
1 files changed, 2 insertions, 0 deletions
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, | |||
2258 | static void __devinit snd_vt1724_chip_reset(struct snd_ice1712 *ice) | 2258 | static void __devinit snd_vt1724_chip_reset(struct snd_ice1712 *ice) |
2259 | { | 2259 | { |
2260 | outb(VT1724_RESET , ICEREG1724(ice, CONTROL)); | 2260 | outb(VT1724_RESET , ICEREG1724(ice, CONTROL)); |
2261 | inb(ICEREG1724(ice, CONTROL)); /* pci posting flush */ | ||
2261 | msleep(10); | 2262 | msleep(10); |
2262 | outb(0, ICEREG1724(ice, CONTROL)); | 2263 | outb(0, ICEREG1724(ice, CONTROL)); |
2264 | inb(ICEREG1724(ice, CONTROL)); /* pci posting flush */ | ||
2263 | msleep(10); | 2265 | msleep(10); |
2264 | } | 2266 | } |
2265 | 2267 | ||