diff options
author | Trent Piepho <xyzzy@speakeasy.org> | 2007-07-17 14:29:42 -0700 |
---|---|---|
committer | Trent Piepho <xyzzy@speakeasy.org> | 2007-07-17 14:29:42 -0700 |
commit | 1c33921b7105f6b68adf3ac7977b242250b968ca (patch) | |
tree | 7231ebb19c145ea18a5f7ad18db5a18297e240f6 /linux/drivers/media/video/zoran_device.c | |
parent | 450ead099a065f8a7e00b476aee04508940856ce (diff) | |
download | mediapointer-dvb-s2-1c33921b7105f6b68adf3ac7977b242250b968ca.tar.gz mediapointer-dvb-s2-1c33921b7105f6b68adf3ac7977b242250b968ca.tar.bz2 |
zr36067: Fix problems with module parameters
From: Trent Piepho <xyzzy@speakeasy.org>
Add permissions to all the module parameters so they can be queried and set
(when possible) via sysfs.
Add description for the vidmem parameter.
Change the video_nr parameter to an array, so that the video number can be
specified when a user has more than one card. The driver would try to give
all cards the same number otherwise, which will fail for all cards after the
first.
The default_input option would only allow values of 0 or 1, contrary to the
description. Allow values up to the number of inputs defined for the card.
Add description of lock_norm's different behavior for 1 and >1.
Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Acked-by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
Diffstat (limited to 'linux/drivers/media/video/zoran_device.c')
-rw-r--r-- | linux/drivers/media/video/zoran_device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/zoran_device.c b/linux/drivers/media/video/zoran_device.c index fd5c5ee3b..2906592d0 100644 --- a/linux/drivers/media/video/zoran_device.c +++ b/linux/drivers/media/video/zoran_device.c @@ -70,7 +70,7 @@ static int lml33dpath = 0; /* 1 will use digital path in capture * load on Bt819 input, there will be * some image imperfections */ -module_param(lml33dpath, bool, 0); +module_param(lml33dpath, bool, 0644); MODULE_PARM_DESC(lml33dpath, "Use digital path capture mode (on LML33 cards)"); |