diff options
Diffstat (limited to 'drivers/media/video/saa7134/saa7134-oss.c')
-rw-r--r-- | drivers/media/video/saa7134/saa7134-oss.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/video/saa7134/saa7134-oss.c b/drivers/media/video/saa7134/saa7134-oss.c index d79d05f88705..7aa02b34e012 100644 --- a/drivers/media/video/saa7134/saa7134-oss.c +++ b/drivers/media/video/saa7134/saa7134-oss.c | |||
@@ -124,7 +124,7 @@ static int dsp_rec_start(struct saa7134_dev *dev) | |||
124 | unsigned long flags; | 124 | unsigned long flags; |
125 | 125 | ||
126 | /* prepare buffer */ | 126 | /* prepare buffer */ |
127 | if (0 != (err = videobuf_dma_pci_map(dev->pci,&dev->dmasound.dma))) | 127 | if (0 != (err = videobuf_pci_dma_map(dev->pci,&dev->dmasound.dma))) |
128 | return err; | 128 | return err; |
129 | if (0 != (err = saa7134_pgtable_alloc(dev->pci,&dev->dmasound.pt))) | 129 | if (0 != (err = saa7134_pgtable_alloc(dev->pci,&dev->dmasound.pt))) |
130 | goto fail1; | 130 | goto fail1; |
@@ -213,7 +213,7 @@ static int dsp_rec_start(struct saa7134_dev *dev) | |||
213 | fail2: | 213 | fail2: |
214 | saa7134_pgtable_free(dev->pci,&dev->dmasound.pt); | 214 | saa7134_pgtable_free(dev->pci,&dev->dmasound.pt); |
215 | fail1: | 215 | fail1: |
216 | videobuf_dma_pci_unmap(dev->pci,&dev->dmasound.dma); | 216 | videobuf_pci_dma_unmap(dev->pci,&dev->dmasound.dma); |
217 | return err; | 217 | return err; |
218 | } | 218 | } |
219 | 219 | ||
@@ -231,7 +231,7 @@ static int dsp_rec_stop(struct saa7134_dev *dev) | |||
231 | 231 | ||
232 | /* unlock buffer */ | 232 | /* unlock buffer */ |
233 | saa7134_pgtable_free(dev->pci,&dev->dmasound.pt); | 233 | saa7134_pgtable_free(dev->pci,&dev->dmasound.pt); |
234 | videobuf_dma_pci_unmap(dev->pci,&dev->dmasound.dma); | 234 | videobuf_pci_dma_unmap(dev->pci,&dev->dmasound.dma); |
235 | return 0; | 235 | return 0; |
236 | } | 236 | } |
237 | 237 | ||