V4L/DVB (10650): uvcvideo: Initialize streaming parameters with the probe control...
authorLaurent Pinchart <laurent.pinchart@skynet.be>
Sat, 14 Feb 2009 22:26:56 +0000 (19:26 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 30 Mar 2009 15:42:51 +0000 (12:42 -0300)
commit72362422f3a9cb66e26fa9f0d90d3ef5241e78ba
tree5a59c61da4a1bf1adf487f3279cb5f2c494b66f7
parent4a5aa62bd5e27d90ceb11bc256de659d5c99e0dc
V4L/DVB (10650): uvcvideo: Initialize streaming parameters with the probe control value

The UVC specification requires SET_CUR requests on the streaming commit control
to use values retrieved from a successful GET_CUR request on the probe control.
Initialize streaming parameters with the probe control current value to make
sure the driver always complies.

Signed-off-by: Laurent Pinchart <laurent.pinchart@skynet.be>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/uvc/uvc_video.c