From: Anssi Hannula <anssi.hannula-X3B1VOXEql0@public.gmane.org>
To: Francisco Jerez <currojerez-sGOZH3hwPm2sTnJN9+BGXg@public.gmane.org>
Cc: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Subject: Re: [PATCH 1/2] drm/i2c/ch7006: Make some parameter descriptions more useful.
Date: Tue, 25 Aug 2009 01:15:09 +0300 [thread overview]
Message-ID: <4A9310ED.9020401@iki.fi> (raw)
In-Reply-To: <1251122527-17900-1-git-send-email-currojerez-sGOZH3hwPm2sTnJN9+BGXg@public.gmane.org>
Francisco Jerez wrote:
> Signed-off-by: Francisco Jerez <currojerez-sGOZH3hwPm2sTnJN9+BGXg@public.gmane.org>
> ---
> drivers/gpu/drm/i2c/ch7006_drv.c | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/i2c/ch7006_drv.c b/drivers/gpu/drm/i2c/ch7006_drv.c
> index 47421ba..ff0369c 100644
> --- a/drivers/gpu/drm/i2c/ch7006_drv.c
> +++ b/drivers/gpu/drm/i2c/ch7006_drv.c
> @@ -515,11 +515,11 @@ MODULE_PARM_DESC(debug, "Enable debug output.");
>
> char *ch7006_tv_norm = NULL;
> module_param_named(tv_norm, ch7006_tv_norm, charp, 0600);
> -MODULE_PARM_DESC(tv_norm, "Default TV norm.");
> +MODULE_PARM_DESC(tv_norm, "Default TV norm (one of: PAL, PAL-M, PAL-N, PAL-Nc, PAL-60, NTSC-M, NTSC-J).");
I think this should also mention the default value.
BTW, somehow I'd think this should be handled in a more generic place,
like in the drm module. But that's another issue.
> int ch7006_scale = 0;
> module_param_named(scale, ch7006_scale, int, 0600);
> -MODULE_PARM_DESC(scale, "Default scale.");
> +MODULE_PARM_DESC(scale, "Default scale (integer between 0 and 2).");
Default value would be useful here as well. And I think the description
should be a little more verbose here, as I don't immediately see how
"scale" is related to tv-out. Does it mean the amount of overscan? Or
does it change default scaling method?
> MODULE_AUTHOR("Francisco Jerez <currojerez-sGOZH3hwPm2sTnJN9+BGXg@public.gmane.org>");
> MODULE_DESCRIPTION("Chrontel ch7006 TV encoder driver");
--
Anssi Hannula
next prev parent reply other threads:[~2009-08-24 22:15 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-24 14:02 [PATCH 1/2] drm/i2c/ch7006: Make some parameter descriptions more useful Francisco Jerez
[not found] ` <1251122527-17900-1-git-send-email-currojerez-sGOZH3hwPm2sTnJN9+BGXg@public.gmane.org>
2009-08-24 14:02 ` [PATCH 2/2] drm/nouveau: Make the tv_norm parameter description " Francisco Jerez
2009-08-24 22:15 ` Anssi Hannula [this message]
[not found] ` <4A9310ED.9020401-X3B1VOXEql0@public.gmane.org>
2009-08-25 13:41 ` [PATCHv2 1/2] drm/i2c/ch7006: Make some parameter descriptions " Francisco Jerez
2009-08-25 13:41 ` [PATCHv2 2/2] drm/nouveau: Make the tv_norm parameter description " Francisco Jerez
[not found] ` <1251207687-22835-2-git-send-email-currojerez-sGOZH3hwPm2sTnJN9+BGXg@public.gmane.org>
2009-08-25 18:38 ` Pekka Paalanen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4A9310ED.9020401@iki.fi \
--to=anssi.hannula-x3b1voxeql0@public.gmane.org \
--cc=currojerez-sGOZH3hwPm2sTnJN9+BGXg@public.gmane.org \
--cc=nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.