Re: [PATCH 2/2 v2] gspca: Add MR97310A driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Fix camera initialization copy/paste bugs

From: Kyle Guinn <elyk03@xxxxxxxxx>

Fix a couple of copy and paste bugs in the MR97310A initialization.

Priority: normal

Signed-off-by: Kyle Guinn <elyk03@xxxxxxxxx>

diff --git a/linux/drivers/media/video/gspca/mr97310a.c b/linux/drivers/media/video/gspca/mr97310a.c
--- a/linux/drivers/media/video/gspca/mr97310a.c
+++ b/linux/drivers/media/video/gspca/mr97310a.c
@@ -247,8 +247,8 @@
 	data[5] = 0x00;
 	data[6] = 0x70;
 	data[7] = 0x00;
-	data[8] = 0x01;
-	err_code = reg_w(gspca_dev, 10);
+	data[8] = 0x00;
+	err_code = reg_w(gspca_dev, 9);
 	if (err_code < 0)
 		return err_code;
 
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux