unsigned long flags;  /* stop dma */ spin_lock_irqsave(&dev->slock,flags); saa7134_dma_stop(dev); spin_unlock_irqrestore(&dev->slock,flags); 
static int snd_card_saa7134_capture_close(snd_pcm_substream_t * substream){	snd_card_saa7134_t *chip = snd_pcm_substream_chip(substream);	struct saa7134_dev *dev = chip->saadev;	unsigned long flags;	/* stop dma */	spin_lock_irqsave(&dev->slock,flags);	saa7134_dma_stop(dev);	spin_unlock_irqrestore(&dev->slock,flags);	/* unlock buffer */	saa7134_pgtable_free(dev->pci,&dev->oss.pt);	videobuf_dma_pci_unmap(dev->pci,&dev->oss.dma);	dsp_buffer_free(dev);	return 0;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/b54134be53be720da423692665ec215eb14a678b/saa7134-alsa.c/clean/drivers/media/video/saa7134/saa7134-alsa.c