diff options
| -rw-r--r-- | drivers/media/pci/saa7134/saa7134-alsa.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/pci/saa7134/saa7134-alsa.c b/drivers/media/pci/saa7134/saa7134-alsa.c index 10460fd3ce39..dbcdfbf8aed0 100644 --- a/drivers/media/pci/saa7134/saa7134-alsa.c +++ b/drivers/media/pci/saa7134/saa7134-alsa.c | |||
| @@ -172,7 +172,9 @@ static void saa7134_irq_alsa_done(struct saa7134_dev *dev, | |||
| 172 | dprintk("irq: overrun [full=%d/%d] - Blocks in %d\n",dev->dmasound.read_count, | 172 | dprintk("irq: overrun [full=%d/%d] - Blocks in %d\n",dev->dmasound.read_count, |
| 173 | dev->dmasound.bufsize, dev->dmasound.blocks); | 173 | dev->dmasound.bufsize, dev->dmasound.blocks); |
| 174 | spin_unlock(&dev->slock); | 174 | spin_unlock(&dev->slock); |
| 175 | snd_pcm_stream_lock(dev->dmasound.substream); | ||
| 175 | snd_pcm_stop(dev->dmasound.substream,SNDRV_PCM_STATE_XRUN); | 176 | snd_pcm_stop(dev->dmasound.substream,SNDRV_PCM_STATE_XRUN); |
| 177 | snd_pcm_stream_unlock(dev->dmasound.substream); | ||
| 176 | return; | 178 | return; |
| 177 | } | 179 | } |
| 178 | 180 | ||
