<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mediapointer-dvb-s2/linux/drivers/media/video/uvc, branch master</title>
<subtitle>Mediapointer DVB-S2 driver
</subtitle>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/mediapointer-dvb-s2/'/>
<entry>
<title>uvc: introduce missing kfree</title>
<updated>2009-09-18T02:44:01+00:00</updated>
<author>
<name>Douglas Schilling Landgraf</name>
<email>dougsland@redhat.com</email>
</author>
<published>2009-09-18T02:44:01+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/mediapointer-dvb-s2/commit/?id=a577506d6e8a2589acde5bbc56deff0710b73e47'/>
<id>a577506d6e8a2589acde5bbc56deff0710b73e47</id>
<content type='text'>
From: Julia Lawall &lt;julia@diku.dk&gt;

Move the kzalloc and associated test after the stream/query test, to avoid
the need to free the allocated if the stream/query test fails.

The semantic match that finds the problem is as follows:
(http://www.emn.fr/x-info/coccinelle/)

// &lt;smpl&gt;
@r exists@
local idexpression x;
statement S;
expression E;
identifier f,f1,l;
position p1,p2;
expression *ptr != NULL;
@@

x@p1 = \(kmalloc\|kzalloc\|kcalloc\)(...);
...
if (x == NULL) S
&lt;... when != x
     when != if (...) { &lt;+...x...+&gt; }
(
x-&gt;f1 = E
|
 (x-&gt;f1 == NULL || ...)
|
 f(...,x-&gt;f1,...)
)
...&gt;
(
 return \(0\|&lt;+...x...+&gt;\|ptr\);
|
 return@p2 ...;
)

@script:python@
p1 &lt;&lt; r.p1;
p2 &lt;&lt; r.p2;
@@

print "* file: %s kmalloc %s return %s" % (p1[0].file,p1[0].line,p2[0].line)
// &lt;/smpl&gt;

Priority: normal

Signed-off-by: Julia Lawall &lt;julia@diku.dk&gt;
Acked-by: Laurent Pinchart &lt;laurent.pinchart@ideasonboard.com&gt;
Signed-off-by: Douglas Schilling Landgraf &lt;dougsland@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
From: Julia Lawall &lt;julia@diku.dk&gt;

Move the kzalloc and associated test after the stream/query test, to avoid
the need to free the allocated if the stream/query test fails.

The semantic match that finds the problem is as follows:
(http://www.emn.fr/x-info/coccinelle/)

// &lt;smpl&gt;
@r exists@
local idexpression x;
statement S;
expression E;
identifier f,f1,l;
position p1,p2;
expression *ptr != NULL;
@@

x@p1 = \(kmalloc\|kzalloc\|kcalloc\)(...);
...
if (x == NULL) S
&lt;... when != x
     when != if (...) { &lt;+...x...+&gt; }
(
x-&gt;f1 = E
|
 (x-&gt;f1 == NULL || ...)
|
 f(...,x-&gt;f1,...)
)
...&gt;
(
 return \(0\|&lt;+...x...+&gt;\|ptr\);
|
 return@p2 ...;
)

@script:python@
p1 &lt;&lt; r.p1;
p2 &lt;&lt; r.p2;
@@

print "* file: %s kmalloc %s return %s" % (p1[0].file,p1[0].line,p2[0].line)
// &lt;/smpl&gt;

Priority: normal

Signed-off-by: Julia Lawall &lt;julia@diku.dk&gt;
Acked-by: Laurent Pinchart &lt;laurent.pinchart@ideasonboard.com&gt;
Signed-off-by: Douglas Schilling Landgraf &lt;dougsland@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>fix device match logic</title>
<updated>2009-08-09T10:14:26+00:00</updated>
<author>
<name>Mauro Carvalho Chehab</name>
<email>mchehab@redhat.com</email>
</author>
<published>2009-08-09T10:14:26+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/mediapointer-dvb-s2/commit/?id=796c449e9807bc070a33bcbbab2f4cae6cfc6d14'/>
<id>796c449e9807bc070a33bcbbab2f4cae6cfc6d14</id>
<content type='text'>
From: Laurent Pinchart &lt;laurent.pinchart@ideasonboard.com&gt;

I forgot to change USB_DEVICE_ID_MATCH_VENDOR to USB_DEVICE_ID_MATCH_DEVICE in
the last commit, defeating its whole purpose. Fix this.

kernel-sync:

Signed-off-by: Laurent Pinchart &lt;laurent.pinchart@skynet.be&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
From: Laurent Pinchart &lt;laurent.pinchart@ideasonboard.com&gt;

I forgot to change USB_DEVICE_ID_MATCH_VENDOR to USB_DEVICE_ID_MATCH_DEVICE in
the last commit, defeating its whole purpose. Fix this.

kernel-sync:

Signed-off-by: Laurent Pinchart &lt;laurent.pinchart@skynet.be&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>uvcvideo: Avoid flooding the kernel log with "unknown event type" messages</title>
<updated>2009-08-01T21:14:24+00:00</updated>
<author>
<name>Laurent Pinchart</name>
<email>laurent.pinchart@skynet.be</email>
</author>
<published>2009-08-01T21:14:24+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/mediapointer-dvb-s2/commit/?id=be7e7366b6e627b24db77147c07f9a3deb5f3933'/>
<id>be7e7366b6e627b24db77147c07f9a3deb5f3933</id>
<content type='text'>
From: Laurent Pinchart &lt;laurent.pinchart@skynet.be&gt;

The iSight sends non-UVC status events through the interrupt endpoint. Those
invalid events are reported to the kernel log, resulting in a log flood.

Only log the events when the UVC_TRACE_STATUS flag is set.

Priority: high

Signed-off-by: Laurent Pinchart &lt;laurent.pinchart@skynet.be&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
From: Laurent Pinchart &lt;laurent.pinchart@skynet.be&gt;

The iSight sends non-UVC status events through the interrupt endpoint. Those
invalid events are reported to the kernel log, resulting in a log flood.

Only log the events when the UVC_TRACE_STATUS flag is set.

Priority: high

Signed-off-by: Laurent Pinchart &lt;laurent.pinchart@skynet.be&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>uvcvideo: Multiple streaming interfaces support</title>
<updated>2009-07-01T23:24:47+00:00</updated>
<author>
<name>Laurent Pinchart</name>
<email>laurent.pinchart@skynet.be</email>
</author>
<published>2009-07-01T23:24:47+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/mediapointer-dvb-s2/commit/?id=c5bf599bcaa4cba04f76ae9edce2d9766a9602fd'/>
<id>c5bf599bcaa4cba04f76ae9edce2d9766a9602fd</id>
<content type='text'>
From: Laurent Pinchart &lt;laurent.pinchart@skynet.be&gt;

Restructure the UVC descriptors parsing code to handle multiple streaming
interfaces. The driver now creates a uvc_video_chain instance for each chain
detected in the UVC control interface descriptors, and tries to register one
video device per streaming endpoint.

Priority: normal

Signed-off-by: Laurent Pinchart &lt;laurent.pinchart@skynet.be&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
From: Laurent Pinchart &lt;laurent.pinchart@skynet.be&gt;

Restructure the UVC descriptors parsing code to handle multiple streaming
interfaces. The driver now creates a uvc_video_chain instance for each chain
detected in the UVC control interface descriptors, and tries to register one
video device per streaming endpoint.

Priority: normal

Signed-off-by: Laurent Pinchart &lt;laurent.pinchart@skynet.be&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>uvcvideo: Restructure the driver to support multiple simultaneous streams.</title>
<updated>2009-06-28T11:37:50+00:00</updated>
<author>
<name>Laurent Pinchart</name>
<email>laurent.pinchart@skynet.be</email>
</author>
<published>2009-06-28T11:37:50+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/mediapointer-dvb-s2/commit/?id=515fc60834c8e3e51c3fb97e362c74a3324d817e'/>
<id>515fc60834c8e3e51c3fb97e362c74a3324d817e</id>
<content type='text'>
From: Laurent Pinchart &lt;laurent.pinchart@skynet.be&gt;

As a first step towards multiple streaming interfaces support, reorganize the
driver's data structures to cleanly separate video control and video streaming
data.

Priority: normal

Signed-off-by: Laurent Pinchart &lt;laurent.pinchart@skynet.be&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
From: Laurent Pinchart &lt;laurent.pinchart@skynet.be&gt;

As a first step towards multiple streaming interfaces support, reorganize the
driver's data structures to cleanly separate video control and video streaming
data.

Priority: normal

Signed-off-by: Laurent Pinchart &lt;laurent.pinchart@skynet.be&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>uvcvideo: Don't apply the FIX_BANDWIDTH quirk to all ViMicro devices</title>
<updated>2009-07-19T22:16:05+00:00</updated>
<author>
<name>Laurent Pinchart</name>
<email>laurent.pinchart@skynet.be</email>
</author>
<published>2009-07-19T22:16:05+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/mediapointer-dvb-s2/commit/?id=f32c3e119058285fb6ceadc44d235717e45c7d5c'/>
<id>f32c3e119058285fb6ceadc44d235717e45c7d5c</id>
<content type='text'>
From: Laurent Pinchart &lt;laurent.pinchart@skynet.be&gt;

Commit 50144aeeb702ea105697ae5249f059ea3990b838 broke the Samsung NC10
netbook webcam. Instead of applying the FIX_BANDWIDTH quirk to all ViMicro
devices, list the devices explicitly.

Priority: normal

Signed-off-by: Laurent Pinchart &lt;laurent.pinchart@skynet.be&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
From: Laurent Pinchart &lt;laurent.pinchart@skynet.be&gt;

Commit 50144aeeb702ea105697ae5249f059ea3990b838 broke the Samsung NC10
netbook webcam. Instead of applying the FIX_BANDWIDTH quirk to all ViMicro
devices, list the devices explicitly.

Priority: normal

Signed-off-by: Laurent Pinchart &lt;laurent.pinchart@skynet.be&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>uvcvideo: Add PROBE_DEF quirk and enable it for the MT6227 device</title>
<updated>2009-07-19T21:39:56+00:00</updated>
<author>
<name>Laurent Pinchart</name>
<email>laurent.pinchart@skynet.be</email>
</author>
<published>2009-07-19T21:39:56+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/mediapointer-dvb-s2/commit/?id=391fa9b1286e89a5b82f26c2efc3df18d72428e5'/>
<id>391fa9b1286e89a5b82f26c2efc3df18d72428e5</id>
<content type='text'>
From: Laurent Pinchart &lt;laurent.pinchart@skynet.be&gt;

At least one MT6227 model crashes when receiving a GET_DEF request on the
video probe control. As the various models can't be told apart based on the
descriptors, add a PROBE_DEF quirk to avoid sending the GET_DEF request and
enable the quirk for all models.

Priority: normal

Signed-off-by: Laurent Pinchart &lt;laurent.pinchart@skynet.be&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
From: Laurent Pinchart &lt;laurent.pinchart@skynet.be&gt;

At least one MT6227 model crashes when receiving a GET_DEF request on the
video probe control. As the various models can't be told apart based on the
descriptors, add a PROBE_DEF quirk to avoid sending the GET_DEF request and
enable the quirk for all models.

Priority: normal

Signed-off-by: Laurent Pinchart &lt;laurent.pinchart@skynet.be&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>merge: http://linuxtv.org/hg/~pinchartl/uvcvideo/</title>
<updated>2009-07-05T13:32:14+00:00</updated>
<author>
<name>Mauro Carvalho Chehab</name>
<email>mchehab@redhat.com</email>
</author>
<published>2009-07-05T13:32:14+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/mediapointer-dvb-s2/commit/?id=e940d1087818dfd03d3a8f449ea389d46954959d'/>
<id>e940d1087818dfd03d3a8f449ea389d46954959d</id>
<content type='text'>
From: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;

Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
From: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;

Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>uvcvideo: Set PROBE_MINMAX quirk for Aveo Technology webcams</title>
<updated>2009-07-03T15:32:46+00:00</updated>
<author>
<name>Laurent Pinchart</name>
<email>laurent.pinchart@skynet.be</email>
</author>
<published>2009-07-03T15:32:46+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/mediapointer-dvb-s2/commit/?id=0e410bd1fdf38a0923227a82254f1b4cca094f7e'/>
<id>0e410bd1fdf38a0923227a82254f1b4cca094f7e</id>
<content type='text'>
From: Laurent Pinchart &lt;laurent.pinchart@skynet.be&gt;

Some Aveo Technology USB 2.0 Camera (1871:0306) revisions seem to require the
PROBE_MINMAX quirk. As the camera supports uncompressed YUYV data only, it's
safe to set the quirk even if not strictly required for all models. Update the
device entry in the device IDs list.

Priority: normal

Signed-off-by: Laurent Pinchart &lt;laurent.pinchart@skynet.be&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
From: Laurent Pinchart &lt;laurent.pinchart@skynet.be&gt;

Some Aveo Technology USB 2.0 Camera (1871:0306) revisions seem to require the
PROBE_MINMAX quirk. As the camera supports uncompressed YUYV data only, it's
safe to set the quirk even if not strictly required for all models. Update the
device entry in the device IDs list.

Priority: normal

Signed-off-by: Laurent Pinchart &lt;laurent.pinchart@skynet.be&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>uvcvideo: Move UVC definitions to linux/usb/video.h</title>
<updated>2009-06-26T15:15:38+00:00</updated>
<author>
<name>Laurent Pinchart</name>
<email>laurent.pinchart@skynet.be</email>
</author>
<published>2009-06-26T15:15:38+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/mediapointer-dvb-s2/commit/?id=8471361a8fff5c935da73faa3a790716b63e0fcd'/>
<id>8471361a8fff5c935da73faa3a790716b63e0fcd</id>
<content type='text'>
From: Laurent Pinchart &lt;laurent.pinchart@skynet.be&gt;

To make UVC constants accessible by a future UVC gadget driver, move them from
drivers/media/video/uvc/uvcvideo.h to include/linux/usb/video.h.

Priority: normal

Signed-off-by: Laurent Pinchart &lt;laurent.pinchart@skynet.be&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
From: Laurent Pinchart &lt;laurent.pinchart@skynet.be&gt;

To make UVC constants accessible by a future UVC gadget driver, move them from
drivers/media/video/uvc/uvcvideo.h to include/linux/usb/video.h.

Priority: normal

Signed-off-by: Laurent Pinchart &lt;laurent.pinchart@skynet.be&gt;
</pre>
</div>
</content>
</entry>
</feed>
