mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-29 23:53:32 +00:00
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>
This commit is contained in:
parent
a5b7b5c1d0
commit
d82b64f476
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue