<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/media, branch v2.6.26</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v2.6.26</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v2.6.26'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2008-07-12T21:33:41Z</updated>
<entry>
<title>ov7670: clean up ov7670_read semantics</title>
<updated>2008-07-12T21:33:41Z</updated>
<author>
<name>Andres Salomon</name>
<email>dilinger@queued.net</email>
</author>
<published>2008-07-12T20:47:54Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=bca5c2c550f16d2dc2d21ffb7b4712bd0a7d32a9'/>
<id>urn:sha1:bca5c2c550f16d2dc2d21ffb7b4712bd0a7d32a9</id>
<content type='text'>
Cortland Setlow pointed out a bug in ov7670.c where the result from
ov7670_read() was just being checked for !0, rather than &lt;0.  This made me
realize that ov7670_read's semantics were rather confusing; it both fills
in 'value' with the result, and returns it.  This is goes against general
kernel convention; so rather than fixing callers, let's fix the function.

This makes ov7670_read return &lt;0 in the case of an error, and 0 upon
success. Thus, code like:

res = ov7670_read(...);
if (!res)
	goto error;

..will work properly.

Signed-off-by: Cortland Setlow &lt;csetlow@tower-research.com&gt;
Signed-off-by: Andres Salomon &lt;dilinger@debian.org&gt;
Acked-by: Jonathan Corbet &lt;corbet@lwn.net&gt;
Cc: &lt;stable@kernel.org&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>V4L/DVB (8178): uvc: Fix compilation breakage for the other drivers, if uvc is selected</title>
<updated>2008-07-02T11:58:15Z</updated>
<author>
<name>Mauro Carvalho Chehab</name>
<email>mchehab@infradead.org</email>
</author>
<published>2008-07-02T14:03:33Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=06f3ed23b1e1038da649c4836b51fe035f5536bd'/>
<id>urn:sha1:06f3ed23b1e1038da649c4836b51fe035f5536bd</id>
<content type='text'>
UVC makefile defines obj as:
	obj-$(CONFIG_USB_VIDEO_CLASS) := uvcvideo.o
Instead of:
	obj-$(CONFIG_USB_VIDEO_CLASS) += uvcvideo.o

Due to that, if uvc is selected, all obj-y or obj-m that were added to
compilation were forget. This breaks a proper kernel build.

Acked-by: Laurent Pinchart &lt;laurent.pinchart@skynet.be&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@infradead.org&gt;
</content>
</entry>
<entry>
<title>V4L/DVB (8145a): USB Video Class driver</title>
<updated>2008-06-30T20:31:13Z</updated>
<author>
<name>Laurent Pinchart</name>
<email>laurent.pinchart@skynet.be</email>
</author>
<published>2008-06-30T18:04:50Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=c0efd232929c2cd87238de2cccdaf4e845be5b0c'/>
<id>urn:sha1:c0efd232929c2cd87238de2cccdaf4e845be5b0c</id>
<content type='text'>
This driver supports video input devices compliant with the USB Video Class
specification. This means lots of currently manufactured webcams, and probably
most of the future ones.

Signed-off-by: Laurent Pinchart &lt;laurent.pinchart@skynet.be&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@infradead.org&gt;
</content>
</entry>
<entry>
<title>V4L/DVB (8108): Fix open/close race in saa7134</title>
<updated>2008-06-26T18:58:59Z</updated>
<author>
<name>Arjan van de Ven</name>
<email>arjan@linux.intel.com</email>
</author>
<published>2008-06-22T20:03:02Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=a17898737eaed4ef41f273da7b830c632e06613e'/>
<id>urn:sha1:a17898737eaed4ef41f273da7b830c632e06613e</id>
<content type='text'>
The saa7134 driver uses a (non-atomic) variable in an attempt to
only allow one opener of the device (how it deals with sending
the fd over unix sockets I don't know).

Unfortunately, the release function first decrements this variable,
and THEN goes on to disable more of the device. This allows for
a race where another opener of the device comes in after the decrement of
the variable, configures the hardware just to then see the hardware
be disabled by the rest of the release function.

This patch makes the release function use the same lock as the open
function to protect the hardware as well as the variable (which now
at least has some locking to protect it).

Signed-off-by: Arjan van de Ven &lt;arjan@linux.intel.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@infradead.org&gt;
</content>
</entry>
<entry>
<title>V4L/DVB (8100): V4L/vivi: fix possible memory leak in vivi_fillbuff</title>
<updated>2008-06-26T18:58:58Z</updated>
<author>
<name>Marcin Slusarz</name>
<email>marcin.slusarz@gmail.com</email>
</author>
<published>2008-06-22T12:11:40Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=5c554e6b984ce6b36488b93a7ec8e2752233e7cb'/>
<id>urn:sha1:5c554e6b984ce6b36488b93a7ec8e2752233e7cb</id>
<content type='text'>
Move allocation after first check and fix memory leak.

Noticed-by: Daniel Marjamäki &lt;danielm77@spray.se&gt;

Signed-off-by: Marcin Slusarz &lt;marcin.slusarz@gmail.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@infradead.org&gt;
</content>
</entry>
<entry>
<title>V4L/DVB (8097): xc5000: check device hardware state to determine if firmware download is needed</title>
<updated>2008-06-26T18:58:58Z</updated>
<author>
<name>Steven Toth</name>
<email>stoth@linuxtv.org</email>
</author>
<published>2008-06-22T00:06:02Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=e470d8177ed6ae56f4310ce793a57bcb2fed1749'/>
<id>urn:sha1:e470d8177ed6ae56f4310ce793a57bcb2fed1749</id>
<content type='text'>
This patch ensures that the xc5000 will have firmware loaded as needed if the
part is powered down or reset via gpio from the host. An example of this, in
some cases, could be after the system resumes from standby or hibernate modes.

Signed-off-by: Michael Krufky &lt;mkrufky@linuxtv.org&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@infradead.org&gt;
</content>
</entry>
<entry>
<title>V4L/DVB (8096): au8522: prevent false-positive lock status</title>
<updated>2008-06-26T18:58:58Z</updated>
<author>
<name>Steven Toth</name>
<email>stoth@linuxtv.org</email>
</author>
<published>2008-06-21T22:32:41Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=836c28584d4629fdc85365f083b84e1298e14312'/>
<id>urn:sha1:836c28584d4629fdc85365f083b84e1298e14312</id>
<content type='text'>
This decreases scan time in Queens, New York from 28 minutes to 7 minutes,
with the exact same services found.

Signed-off-by: Michael Krufky &lt;mkrufky@linuxtv.org&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@infradead.org&gt;
</content>
</entry>
<entry>
<title>V4L/DVB (8092): videodev: simplify and fix standard enumeration</title>
<updated>2008-06-26T18:58:57Z</updated>
<author>
<name>Hans Verkuil</name>
<email>hverkuil@xs4all.nl</email>
</author>
<published>2008-06-21T16:23:27Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=7fa8e6fa1519194fc0c931f40d530fb55137bad9'/>
<id>urn:sha1:7fa8e6fa1519194fc0c931f40d530fb55137bad9</id>
<content type='text'>
VIDIOC_ENUMSTD did not return all the PAL/SECAM/NTSC variants: it just returned
one single PAL/SECAM/NTSC standard without separate entries for the trickier
standards like NTSC-JP.

Changed the code so that it behaves better.

Also simplified the if/switch statements into a common standards lookup table.

Signed-off-by: Hans Verkuil &lt;hverkuil@xs4all.nl&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@infradead.org&gt;
</content>
</entry>
<entry>
<title>V4L/DVB (8075): stv0299: Uncorrected block count and bit error rate fixed</title>
<updated>2008-06-26T18:58:57Z</updated>
<author>
<name>Oliver Endriss</name>
<email>o.endriss@gmx.de</email>
</author>
<published>2008-06-20T02:25:04Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=7876ad75b1a3b7dc3d5d765d0be086d89fd2e663'/>
<id>urn:sha1:7876ad75b1a3b7dc3d5d765d0be086d89fd2e663</id>
<content type='text'>
Fix uncorrected block counter and bit error rate to follow DVB API spec:
- Unsupported controls return -ENOSYS.
- UNC must never be set to 0.

Signed-off-by: Oliver Endriss &lt;o.endriss@gmx.de&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@infradead.org&gt;
</content>
</entry>
<entry>
<title>V4L/DVB (8074): av7110: OSD transfers should not be interrupted</title>
<updated>2008-06-26T18:58:56Z</updated>
<author>
<name>Oliver Endriss</name>
<email>o.endriss@gmx.de</email>
</author>
<published>2008-06-20T02:10:14Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=0b915e74ac10b65da930aa430837d4338f5deb65'/>
<id>urn:sha1:0b915e74ac10b65da930aa430837d4338f5deb65</id>
<content type='text'>
OSD transfers should not be interrupted.

Signed-off-by: Oliver Endriss &lt;o.endriss@gmx.de&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@infradead.org&gt;
</content>
</entry>
</feed>
