diff options
author | Gerd Knorr <devnull@localhost> | 2004-03-08 10:26:58 +0000 |
---|---|---|
committer | Gerd Knorr <devnull@localhost> | 2004-03-08 10:26:58 +0000 |
commit | c8692e36da85be9b0e6f36a6f9e601f1f8cdb619 (patch) | |
tree | a4f4afdf2459bf21f97d3980b24a03dd64d62683 /linux/drivers/media/video/saa7134 | |
parent | 27fefd0ec1387ac82ff9877daac2859aadf42947 (diff) | |
download | mediapointer-dvb-s2-c8692e36da85be9b0e6f36a6f9e601f1f8cdb619.tar.gz mediapointer-dvb-s2-c8692e36da85be9b0e6f36a6f9e601f1f8cdb619.tar.bz2 |
- fix saa7134 oss oops.
Diffstat (limited to 'linux/drivers/media/video/saa7134')
-rw-r--r-- | linux/drivers/media/video/saa7134/saa7134-oss.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/linux/drivers/media/video/saa7134/saa7134-oss.c b/linux/drivers/media/video/saa7134/saa7134-oss.c index b9081e027..4b60c7877 100644 --- a/linux/drivers/media/video/saa7134/saa7134-oss.c +++ b/linux/drivers/media/video/saa7134/saa7134-oss.c @@ -64,7 +64,7 @@ static int dsp_buffer_conf(struct saa7134_dev *dev, int blksize, int blocks) dev->oss.bufsize = blksize * blocks; dprintk("buffer config: %d blocks / %d bytes, %d kB total\n", - blocks,blksize,blksize * blocks / 1024); + blocks,blksize,blksize * blocks / 1024); return 0; } @@ -74,6 +74,7 @@ static int dsp_buffer_init(struct saa7134_dev *dev) if (!dev->oss.bufsize) BUG(); + videobuf_dma_init(&dev->oss.dma); err = videobuf_dma_init_kernel(&dev->oss.dma, PCI_DMA_FROMDEVICE, dev->oss.bufsize >> PAGE_SHIFT); if (0 != err) |