Commit 2f44742c authored by Takashi Iwai's avatar Takashi Iwai

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.deSigned-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 59fdf8e9
...@@ -224,6 +224,7 @@ static int pdacf_config(struct pcmcia_device *link) ...@@ -224,6 +224,7 @@ static int pdacf_config(struct pcmcia_device *link)
link->irq) < 0) link->irq) < 0)
goto failed; goto failed;
pdacf->card->sync_irq = link->irq;
return 0; return 0;
failed: failed:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment