[media] pwc: do not start isoc stream on /dev/video open
authorHans de Goede <hdegoede@redhat.com>
Tue, 16 Nov 2010 14:39:25 +0000 (11:39 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 29 Dec 2010 10:16:52 +0000 (08:16 -0200)
commit3751e288bcf3d77652ef979edc0b3ea8b21d8b97
treed0a628cd8c555f186ef402bdd936ad27b7c0c82d
parenta931910d3be6f63464befb2dde94ec58a6eaf5c1
[media] pwc: do not start isoc stream on /dev/video open

pwc was starting streaming on /dev/video# open rather then on STREAM_ON. Now
that the v4l1 compat code is removed from the pwc driver there is no reason
left to do this. So this patch changes the pwc driver to delay starting
the isoc stream (and thus using valuable usb bandwidth) until the application
does a STREAM_ON

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/pwc/pwc-ctrl.c
drivers/media/video/pwc/pwc-if.c
drivers/media/video/pwc/pwc-v4l.c
drivers/media/video/pwc/pwc.h