aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/media/video/gspca/mr97310a.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/media/video/gspca/mr97310a.c b/drivers/media/video/gspca/mr97310a.c
index a9178d9d674..d842e818442 100644
--- a/drivers/media/video/gspca/mr97310a.c
+++ b/drivers/media/video/gspca/mr97310a.c
@@ -697,6 +697,12 @@ static int start_cif_cam(struct gspca_dev *gspca_dev)
697 {0x13, 0x00, {0x01}, 1}, 697 {0x13, 0x00, {0x01}, 1},
698 {0, 0, {0}, 0} 698 {0, 0, {0}, 0}
699 }; 699 };
700 /* Without this command the cam won't work with USB-UHCI */
701 gspca_dev->usb_buf[0] = 0x0a;
702 gspca_dev->usb_buf[1] = 0x00;
703 err_code = mr_write(gspca_dev, 2);
704 if (err_code < 0)
705 return err_code;
700 err_code = sensor_write_regs(gspca_dev, cif_sensor1_init_data, 706 err_code = sensor_write_regs(gspca_dev, cif_sensor1_init_data,
701 ARRAY_SIZE(cif_sensor1_init_data)); 707 ARRAY_SIZE(cif_sensor1_init_data));
702 } 708 }