ALSA: pdaudiocf: Support PCM sync_stop

The driver invokes snd_pcm_period_elapsed() simply from the threaded
interrupt handler.  Set card->sync_irq for enabling the missing
sync_stop PCM operation.

Link: https://lore.kernel.org/r/20191210063454.31603-54-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
Takashi Iwai 2019-12-10 07:34:52 +01:00
parent 59fdf8e96c
commit 2f44742ca1
1 changed files with 1 additions and 0 deletions

View File

@ -224,6 +224,7 @@ static int pdacf_config(struct pcmcia_device *link)
link->irq) < 0)
goto failed;
pdacf->card->sync_irq = link->irq;
return 0;
failed: