diff options
Diffstat (limited to 'sound/pci/atiixp.c')
-rw-r--r-- | sound/pci/atiixp.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sound/pci/atiixp.c b/sound/pci/atiixp.c index 7895c5d300c7..9c1c4452a8ee 100644 --- a/sound/pci/atiixp.c +++ b/sound/pci/atiixp.c | |||
@@ -688,9 +688,7 @@ static void snd_atiixp_xrun_dma(struct atiixp *chip, struct atiixp_dma *dma) | |||
688 | if (! dma->substream || ! dma->running) | 688 | if (! dma->substream || ! dma->running) |
689 | return; | 689 | return; |
690 | dev_dbg(chip->card->dev, "XRUN detected (DMA %d)\n", dma->ops->type); | 690 | dev_dbg(chip->card->dev, "XRUN detected (DMA %d)\n", dma->ops->type); |
691 | snd_pcm_stream_lock(dma->substream); | 691 | snd_pcm_stop_xrun(dma->substream); |
692 | snd_pcm_stop(dma->substream, SNDRV_PCM_STATE_XRUN); | ||
693 | snd_pcm_stream_unlock(dma->substream); | ||
694 | } | 692 | } |
695 | 693 | ||
696 | /* | 694 | /* |