summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/saa7134
diff options
context:
space:
mode:
authorGerd Knorr <devnull@localhost>2004-04-14 11:19:50 +0000
committerGerd Knorr <devnull@localhost>2004-04-14 11:19:50 +0000
commit931e006a04fe885600f7af35d03a16029cbecfbf (patch)
treedaed63124738d9eb8dbea37ae05e1896a3956026 /linux/drivers/media/video/saa7134
parent79ceaf974e118af2de53c32ab64486df6b603c79 (diff)
downloadmediapointer-dvb-s2-931e006a04fe885600f7af35d03a16029cbecfbf.tar.gz
mediapointer-dvb-s2-931e006a04fe885600f7af35d03a16029cbecfbf.tar.bz2
- cx88/tda9887: secam fixes.
- video-buf: add sanity checks (thanks to Laurent Pinchart). - saa7133: fix off-by-one bug for oss sound recording.
Diffstat (limited to 'linux/drivers/media/video/saa7134')
-rw-r--r--linux/drivers/media/video/saa7134/saa7134-oss.c2
1 files changed, 1 insertions, 1 deletions
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;
}