aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMárton Németh <nm127@freemail.hu>2009-11-07 03:45:33 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-12-05 15:41:37 -0500
commit67c98f72e132e191ff4db0ac7bd81ea94fa5c667 (patch)
tree814147021cd8cdeefbd69dc5b9b2d77189ab6362
parent3a054627cc949c3b7bb8387543919e7d4022753a (diff)
V4L/DVB (13382): gspca - pac7302: Remove redundant stream off command.
The stream off command is sent to the device twice, one is enough. Signed-off-by: Márton Németh <nm127@freemail.hu> Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r--drivers/media/video/gspca/pac7302.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/gspca/pac7302.c b/drivers/media/video/gspca/pac7302.c
index 09d3d191d949..ae1d90a85c5c 100644
--- a/drivers/media/video/gspca/pac7302.c
+++ b/drivers/media/video/gspca/pac7302.c
@@ -606,9 +606,9 @@ static int sd_start(struct gspca_dev *gspca_dev)
606 606
607static void sd_stopN(struct gspca_dev *gspca_dev) 607static void sd_stopN(struct gspca_dev *gspca_dev)
608{ 608{
609 /* stop stream */
609 reg_w(gspca_dev, 0xff, 0x01); 610 reg_w(gspca_dev, 0xff, 0x01);
610 reg_w(gspca_dev, 0x78, 0x00); 611 reg_w(gspca_dev, 0x78, 0x00);
611 reg_w(gspca_dev, 0x78, 0x00);
612} 612}
613 613
614/* called on streamoff with alt 0 and on disconnect for pac7302 */ 614/* called on streamoff with alt 0 and on disconnect for pac7302 */