Skip to content

Commit

Permalink
ALSA: vxpocket: 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 2f44742 commit 0ca4cef
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sound/pcmcia/vx/vxpocket.c
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@ static int snd_vxpocket_assign_resources(struct vx_core *chip, int port, int irq
card->shortname, port, irq);

chip->irq = irq;
card->sync_irq = chip->irq;

if ((err = snd_vx_setup_firmware(chip)) < 0)
return err;
Expand Down

0 comments on commit 0ca4cef

Please sign in to comment.