diff mbox

[2/2,v2] gspca: Add MR97310A driver

Message ID 200901162008.47760.elyk03@gmail.com (mailing list archive)
State Superseded
Headers show

Commit Message

Kyle Guinn Jan. 17, 2009, 2:08 a.m. UTC
Fix camera initialization copy/paste bugs

From: Kyle Guinn <elyk03@gmail.com>

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

Priority: normal

Signed-off-by: Kyle Guinn <elyk03@gmail.com>

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

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;