summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/cx88/cx88-core.c
diff options
context:
space:
mode:
authorGerd Knorr <devnull@localhost>2004-12-17 11:51:37 +0000
committerGerd Knorr <devnull@localhost>2004-12-17 11:51:37 +0000
commit0f378ed54053d8507d8ca4ce66e054c2aa6ec6b0 (patch)
tree5ba40f2022b3cd18fa0dbcc6ae638080414a3569 /linux/drivers/media/video/cx88/cx88-core.c
parent24b552900ff44ea56c94a94bd601adf544432c15 (diff)
downloadmediapointer-dvb-s2-0f378ed54053d8507d8ca4ce66e054c2aa6ec6b0.tar.gz
mediapointer-dvb-s2-0f378ed54053d8507d8ca4ce66e054c2aa6ec6b0.tar.bz2
- misc fixes.
Diffstat (limited to 'linux/drivers/media/video/cx88/cx88-core.c')
-rw-r--r--linux/drivers/media/video/cx88/cx88-core.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/linux/drivers/media/video/cx88/cx88-core.c b/linux/drivers/media/video/cx88/cx88-core.c
index 2e246e8c7..be0351c54 100644
--- a/linux/drivers/media/video/cx88/cx88-core.c
+++ b/linux/drivers/media/video/cx88/cx88-core.c
@@ -1,5 +1,5 @@
/*
- * $Id: cx88-core.c,v 1.21 2004/12/10 12:33:39 kraxel Exp $
+ * $Id: cx88-core.c,v 1.22 2004/12/17 11:51:37 kraxel Exp $
*
* device driver for Conexant 2388x based TV cards
* driver core
@@ -69,6 +69,10 @@ static unsigned int nicam = 0;
module_param(nicam,int,0644);
MODULE_PARM_DESC(nicam,"tv audio is nicam");
+static unsigned int nocomb = 0;
+module_param(nocomb,int,0644);
+MODULE_PARM_DESC(nicam,"disable comb filter");
+
#define dprintk(level,fmt, arg...) if (core_debug >= level) \
printk(KERN_DEBUG "%s: " fmt, core->name , ## arg)
@@ -818,6 +822,8 @@ int cx88_set_scale(struct cx88_core *core, unsigned int width, unsigned int heig
value |= (1 << 0); // 3-tap interpolation
if (width < 193)
value |= (1 << 1); // 5-tap interpolation
+ if (nocomb)
+ value |= (3 << 5); // disable comb filter
cx_write(MO_FILTER_EVEN, value);
cx_write(MO_FILTER_ODD, value);