summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
author <>2007-02-02 13:24:56 -0200
committer <>2007-02-02 13:24:56 -0200
commit36c59f9e8c39e5cb43d2da21c017075ea9cfa6a1 (patch)
treedfa8fdaeeaee6b73bf3f9300091f43596459a41b /linux
parent917f6e47b08ad85db5b84c708fe5049c30afc643 (diff)
downloadmediapointer-dvb-s2-36c59f9e8c39e5cb43d2da21c017075ea9cfa6a1.tar.gz
mediapointer-dvb-s2-36c59f9e8c39e5cb43d2da21c017075ea9cfa6a1.tar.bz2
Http://linuxtv.org/hg/~mcisely/pvrusb2
From: Mauro Carvalho Chehab <mchehab@infradead.org> Follows the same coding style for commented code The latest patch series added a different way of commenting unused patches: #ifdef notdef But V4L/DVB coding style uses, instead: #if 0 This have also the advantage of not sending to mainstream those development codes that doesn't make sense at a production environment, while keeping them under development trees. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mike isely <isely@pobox.com>
Diffstat (limited to 'linux')
-rw-r--r--linux/drivers/media/video/pvrusb2/pvrusb2-encoder.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/linux/drivers/media/video/pvrusb2/pvrusb2-encoder.c b/linux/drivers/media/video/pvrusb2/pvrusb2-encoder.c
index 07bbe5c02..b46316fb3 100644
--- a/linux/drivers/media/video/pvrusb2/pvrusb2-encoder.c
+++ b/linux/drivers/media/video/pvrusb2/pvrusb2-encoder.c
@@ -362,7 +362,7 @@ int pvr2_encoder_prep_config(struct pvr2_hdw *hdw)
int ret = 0;
int encMisc3Arg = 0;
-#ifdef notdef
+#if 0
/* This inexplicable bit happens in the Hauppage windows
driver (for both 24xxx and 29xxx devices). However I
currently see no difference in behavior with or without
@@ -384,7 +384,7 @@ int pvr2_encoder_prep_config(struct pvr2_hdw *hdw)
breaks up for a moment (like when switching channels). */
-#ifdef notdef
+#if 0
/* This ENC_MISC(5,0) command seems to hurt 29xxx sync
performance on channel changes, but is not a problem on
24xxx devices. */
@@ -406,7 +406,7 @@ int pvr2_encoder_prep_config(struct pvr2_hdw *hdw)
ret |= pvr2_encoder_vcmd(hdw, CX2341X_ENC_MISC,4, 8,0,0,0);
-#ifdef notdef
+#if 0
/* This ENC_MISC(4,1) command is poisonous, so it is commented
out. But I'm leaving it here anyway to document its
existence in the Windows driver. The effect of this