From 36c59f9e8c39e5cb43d2da21c017075ea9cfa6a1 Mon Sep 17 00:00:00 2001 From: <> Date: Fri, 2 Feb 2007 13:24:56 -0200 Subject: Http://linuxtv.org/hg/~mcisely/pvrusb2 From: Mauro Carvalho Chehab 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 Signed-off-by: Mike isely --- linux/drivers/media/video/pvrusb2/pvrusb2-encoder.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'linux/drivers') 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 -- cgit v1.2.3