projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a05462
)
V4L/DVB (13382): gspca - pac7302: Remove redundant stream off command.
author
Márton Németh
<nm127@freemail.hu>
Sat, 7 Nov 2009 08:45:33 +0000
(
05:45
-0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Sat, 5 Dec 2009 20:41:37 +0000
(18:41 -0200)
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>
drivers/media/video/gspca/pac7302.c
patch
|
blob
|
history
diff --git
a/drivers/media/video/gspca/pac7302.c
b/drivers/media/video/gspca/pac7302.c
index 09d3d191d9495e3bbab0986ceabd47d255f72dad..ae1d90a85c5c69a5cdd1edbcfff89daa3024ea57 100644
(file)
--- 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)
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);
}
/* called on streamoff with alt 0 and on disconnect for pac7302 */