diff options
author | Jean-Francois Moine <moinejf@free.fr> | 2009-04-25 12:29:01 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-06-16 17:20:55 -0400 |
commit | 49cb6b046da812d9c1d1f8c958b741126ee4eece (patch) | |
tree | 40a4dd9950286cfea562e02bd3325e53e53c7879 /drivers/media/video/gspca/sonixb.c | |
parent | 59746e1390835ce889e56fa4e792019462465623 (diff) |
V4L/DVB (11715): gspca - main: Set the number of packets per ISOC message.
The number of packets per isochronous message may now be set by the subdrivers
(default value 32).
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/gspca/sonixb.c')
-rw-r--r-- | drivers/media/video/gspca/sonixb.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/video/gspca/sonixb.c b/drivers/media/video/gspca/sonixb.c index 153d0a91d4b5..cf3af8de6e97 100644 --- a/drivers/media/video/gspca/sonixb.c +++ b/drivers/media/video/gspca/sonixb.c | |||
@@ -877,6 +877,8 @@ static int sd_config(struct gspca_dev *gspca_dev, | |||
877 | cam->cam_mode = sif_mode; | 877 | cam->cam_mode = sif_mode; |
878 | cam->nmodes = ARRAY_SIZE(sif_mode); | 878 | cam->nmodes = ARRAY_SIZE(sif_mode); |
879 | } | 879 | } |
880 | cam->npkt = 36; /* 36 packets per ISOC message */ | ||
881 | |||
880 | sd->brightness = BRIGHTNESS_DEF; | 882 | sd->brightness = BRIGHTNESS_DEF; |
881 | sd->gain = GAIN_DEF; | 883 | sd->gain = GAIN_DEF; |
882 | sd->exposure = EXPOSURE_DEF; | 884 | sd->exposure = EXPOSURE_DEF; |