Re: [PATCH 0/2] [media] gspca_kinect: enable both video and depth streams

2016-03-07 Thread Ulrik de Muelenaere
Hi Hans, On Mon, Mar 07, 2016 at 08:00:46PM +0100, Hans de Goede wrote: > Hi Ulrik, > > On 06-03-16 14:50, Ulrik de Muelenaere wrote: > >Hello, > > > >The Kinect produces both a video and depth stream, but the current > >implementation of the > >gspca

[PATCH 2/2] [media] gspca_kinect: enable both video and depth streams

2016-03-06 Thread Ulrik de Muelenaere
The Kinect produces both a video stream and a depth stream. Call gspca_dev_probe() twice to create a video device node for each. Remove the depth_mode parameter which had to be set at probe time in order to select either the video or depth stream. Signed-off-by: Ulrik de Muelenaere --- drivers

[PATCH 1/2] [media] gspca: allow multiple probes per USB interface

2016-03-06 Thread Ulrik de Muelenaere
ected, suspended or resumed when given the interface. This is useful for subdrivers such as gspca_kinect, where a single USB interface produces both video and depth streams. Signed-off-by: Ulrik de Muelenaere --- drivers/media/usb/gspca/gspca.c | 129 +++- dr

[PATCH 0/2] [media] gspca_kinect: enable both video and depth streams

2016-03-06 Thread Ulrik de Muelenaere
r, if the second call to gspca_dev_probe() fails, the first video node will still be available. I handle this case by calling gspca_disconnect(), which worked when I was testing, but I am not sure if this is the correct way to handle it. Regards, Ulrik Ulrik de Muelenaere (2): [media]