[media] gspca - stv06xx: Fix a regression with the bridge/sensor vv6410
authorJean-François Moine <moinejf@free.fr>
Thu, 22 Nov 2012 11:59:06 +0000 (08:59 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 21 Dec 2012 14:40:20 +0000 (12:40 -0200)
commit04881127340c43fc5b8dbc2c381c1928ee22559e
tree0b52c7e85eecb73663e4638017e3e38f223b7e90
parent1c9f5bd7cb8a74965e7a19eead5d77c35bf30db7
[media] gspca - stv06xx: Fix a regression with the bridge/sensor vv6410

Setting the H and V flip controls at webcam connection time prevents
the webcam to work correctly.
This patch checks if the webcam is streaming before setting the flips.
It does not set the flips (nor other controls) at webcam start time.

Tested-by: Philippe ROUBACH <philippe.roubach@free.fr>
Signed-off-by: Jean-François Moine <moinejf@free.fr>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/usb/gspca/stv06xx/stv06xx_vv6410.c