projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5b7b5c
)
ALSA: ice1724 - Add PCI postint to reset sequence
author
Takashi Iwai
<tiwai@suse.de>
Wed, 6 May 2009 15:25:42 +0000
(17:25 +0200)
committer
Takashi Iwai
<tiwai@suse.de>
Wed, 6 May 2009 15:25:42 +0000
(17:25 +0200)
Add the PCI posting to ensure the reset sequence in snd_vt1724_chip_reset().
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/ice1712/ice1724.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/pci/ice1712/ice1724.c
b/sound/pci/ice1712/ice1724.c
index 8afa043dab0ea51a366fedda47426b96acc0cbc3..1f05c59690a197a1249ec704ca3417b9f168b94c 100644
(file)
--- 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);
}