From 931e006a04fe885600f7af35d03a16029cbecfbf Mon Sep 17 00:00:00 2001 From: Gerd Knorr Date: Wed, 14 Apr 2004 11:19:50 +0000 Subject: - cx88/tda9887: secam fixes. - video-buf: add sanity checks (thanks to Laurent Pinchart). - saa7133: fix off-by-one bug for oss sound recording. --- linux/drivers/media/video/saa7134/saa7134-oss.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'linux/drivers/media/video/saa7134') diff --git a/linux/drivers/media/video/saa7134/saa7134-oss.c b/linux/drivers/media/video/saa7134/saa7134-oss.c index 4df45c67b..b069a1fcd 100644 --- a/linux/drivers/media/video/saa7134/saa7134-oss.c +++ b/linux/drivers/media/video/saa7134/saa7134-oss.c @@ -173,7 +173,7 @@ static int dsp_rec_start(struct saa7134_dev *dev) fmt |= (2 << 4); if (!sign) fmt |= 0x04; - saa_writel(0x588 >> 2, dev->oss.blksize); + saa_writel(0x588 >> 2, dev->oss.blksize -4); saa_writel(0x58c >> 2, 0x543210 | (fmt << 24)); break; } -- cgit v1.2.3