aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/gspca/gspca.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/gspca/gspca.c')
-rw-r--r--drivers/media/video/gspca/gspca.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/gspca/gspca.c b/drivers/media/video/gspca/gspca.c
index a82d45e57896..4767f159b62a 100644
--- a/drivers/media/video/gspca/gspca.c
+++ b/drivers/media/video/gspca/gspca.c
@@ -646,9 +646,9 @@ static u32 which_bandwidth(struct gspca_dev *gspca_dev)
646 if (gspca_dev->sd_desc->get_streamparm) { 646 if (gspca_dev->sd_desc->get_streamparm) {
647 struct v4l2_streamparm parm; 647 struct v4l2_streamparm parm;
648 648
649 parm.parm.capture.timeperframe.denominator = 15;
650 gspca_dev->sd_desc->get_streamparm(gspca_dev, &parm); 649 gspca_dev->sd_desc->get_streamparm(gspca_dev, &parm);
651 bandwidth *= parm.parm.capture.timeperframe.denominator; 650 bandwidth *= parm.parm.capture.timeperframe.denominator;
651 bandwidth /= parm.parm.capture.timeperframe.numerator;
652 } else { 652 } else {
653 653
654 /* don't hope more than 15 fps with USB 1.1 and 654 /* don't hope more than 15 fps with USB 1.1 and