gspca pac7302: remove redundant stream off command
Commit Message
From: Márton Németh <nm127@freemail.hu>
The stream off command is sent to the device twice, one is enough.
The patch was tested together with Labtec Webcam 2200 (USB ID 093a:2626).
Signed-off-by: Márton Németh <nm127@freemail.hu>
---
--
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
@@ -627,8 +627,8 @@
static void sd_stopN(struct gspca_dev *gspca_dev)
{
+ /* stop stream */
reg_w(gspca_dev, 0xff, 0x01);
- reg_w(gspca_dev, 0x78, 0x00);
reg_w(gspca_dev, 0x78, 0x00);
}