diff mbox

[4/4,media] gspca - sonixj: Fix a bad probe exchange

Message ID 20110106092832.41f5d061@gaivota (mailing list archive)
State RFC
Headers show

Commit Message

Mauro Carvalho Chehab Jan. 6, 2011, 11:28 a.m. UTC
None
diff mbox

Patch

diff --git a/drivers/media/video/gspca/sonixj.c b/drivers/media/video/gspca/sonixj.c
index 7adadd8..6f48b46 100644
--- a/drivers/media/video/gspca/sonixj.c
+++ b/drivers/media/video/gspca/sonixj.c
@@ -1715,7 +1715,7 @@  static int sd_init(struct gspca_dev *gspca_dev)
 	/* setup a selector by bridge */
 	reg_w1(gspca_dev, 0xf1, 0x01);
 	reg_r(gspca_dev, 0x00, 1);
-	reg_w1(gspca_dev, 0xf1, gspca_dev->usb_buf[0]);
+	reg_w1(gspca_dev, 0xf1, 0x00);
 	reg_r(gspca_dev, 0x00, 1);		/* get sonix chip id */
 	regF1 = gspca_dev->usb_buf[0];
 	PDEBUG(D_PROBE, "Sonix chip id: %02x", regF1);