Skip to content

Commit

Permalink
ALSA: pdaudiocf: Support PCM sync_stop
Browse files Browse the repository at this point in the history
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/[email protected]
Signed-off-by: Takashi Iwai <[email protected]>
  • Loading branch information
tiwai committed Dec 11, 2019
1 parent 59fdf8e commit 2f44742
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sound/pcmcia/pdaudiocf/pdaudiocf.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 2f44742

Please sign in to comment.