mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 15:20:58 +07:00
ALSA: ice1712: Support PCM sync_stop
The driver invokes snd_pcm_period_elapsed() simply from the interrupt handler. Set card->sync_irq for enabling the missing sync_stop PCM operation, as well as removing the superfluous synchronize_irq() call. Link: https://lore.kernel.org/r/20191210063454.31603-23-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
f36da9406e
commit
1b97a87f44
@ -2528,7 +2528,6 @@ static int snd_ice1712_create(struct snd_card *card,
|
||||
pci_write_config_word(ice->pci, 0x40, 0x807f);
|
||||
pci_write_config_word(ice->pci, 0x42, 0x0006);
|
||||
snd_ice1712_proc_init(ice);
|
||||
synchronize_irq(pci->irq);
|
||||
|
||||
card->private_data = ice;
|
||||
|
||||
@ -2551,6 +2550,7 @@ static int snd_ice1712_create(struct snd_card *card,
|
||||
}
|
||||
|
||||
ice->irq = pci->irq;
|
||||
card->sync_irq = ice->irq;
|
||||
|
||||
if (snd_ice1712_read_eeprom(ice, modelname) < 0) {
|
||||
snd_ice1712_free(ice);
|
||||
|
Loading…
Reference in New Issue
Block a user