Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 67c98f72 authored by Márton Németh's avatar Márton Németh Committed by Mauro Carvalho Chehab
Browse files

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: default avatarMárton Németh <nm127@freemail.hu>
Signed-off-by: default avatarJean-Francois Moine <moinejf@free.fr>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 3a054627
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -606,9 +606,9 @@ static int sd_start(struct gspca_dev *gspca_dev)


static void sd_stopN(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, 0xff, 0x01);
	reg_w(gspca_dev, 0x78, 0x00);
	reg_w(gspca_dev, 0x78, 0x00);
	reg_w(gspca_dev, 0x78, 0x00);
}
}


/* called on streamoff with alt 0 and on disconnect for pac7302 */
/* called on streamoff with alt 0 and on disconnect for pac7302 */