diff options
author | Jean-Francois Moine <moinejf@free.fr> | 2009-04-25 13:29:01 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-06-16 18:20:55 -0300 |
commit | 49cb6b046da812d9c1d1f8c958b741126ee4eece (patch) | |
tree | 40a4dd9950286cfea562e02bd3325e53e53c7879 /drivers/media/video/gspca/sonixj.c | |
parent | 59746e1390835ce889e56fa4e792019462465623 (diff) | |
download | talos-obmc-linux-49cb6b046da812d9c1d1f8c958b741126ee4eece.tar.gz talos-obmc-linux-49cb6b046da812d9c1d1f8c958b741126ee4eece.zip |
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/sonixj.c')
-rw-r--r-- | drivers/media/video/gspca/sonixj.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/video/gspca/sonixj.c b/drivers/media/video/gspca/sonixj.c index c72e19d3ac37..e58ac891b208 100644 --- a/drivers/media/video/gspca/sonixj.c +++ b/drivers/media/video/gspca/sonixj.c @@ -1280,6 +1280,7 @@ static int sd_config(struct gspca_dev *gspca_dev, cam = &gspca_dev->cam; cam->cam_mode = vga_mode; cam->nmodes = ARRAY_SIZE(vga_mode); + cam->npkt = 24; /* 24 packets per ISOC message */ sd->bridge = id->driver_info >> 16; sd->sensor = id->driver_info >> 8; |