Skip to content

Commit

Permalink
ALSA: vx222: 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 271213e commit 59fdf8e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sound/pci/vx222/vx222.c
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ static int snd_vx222_create(struct snd_card *card, struct pci_dev *pci,
return -EBUSY;
}
chip->irq = pci->irq;
card->sync_irq = chip->irq;

if ((err = snd_device_new(card, SNDRV_DEV_LOWLEVEL, chip, &ops)) < 0) {
snd_vx222_free(chip);
Expand Down

0 comments on commit 59fdf8e

Please sign in to comment.