* [PATCH] gspca pac7302: remove redundant stream off command
@ 2009-11-07 7:27 Németh Márton
0 siblings, 0 replies; only message in thread
From: Németh Márton @ 2009-11-07 7:27 UTC (permalink / raw)
To: Jean-Francois Moine, V4L Mailing List
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>
---
diff -r 40705fec2fb2 linux/drivers/media/video/gspca/pac7302.c
--- a/linux/drivers/media/video/gspca/pac7302.c Fri Nov 06 15:54:49 2009 -0200
+++ b/linux/drivers/media/video/gspca/pac7302.c Sat Nov 07 08:21:19 2009 +0100
@@ -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);
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-11-07 7:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-07 7:27 [PATCH] gspca pac7302: remove redundant stream off command Németh Márton
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.