<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/drivers/media/usb/stkwebcam, branch linux-4.3.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.</subtitle>
<id>https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-4.3.y</id>
<link rel='self' href='https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-4.3.y'/>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/'/>
<updated>2015-03-02T17:53:27Z</updated>
<entry>
<title>[media] stk-webcam: Delete an unnecessary check before the function call "vfree"</title>
<updated>2015-03-02T17:53:27Z</updated>
<author>
<name>Markus Elfring</name>
<email>elfring@users.sourceforge.net</email>
</author>
<published>2015-02-03T17:36:35Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=704b3f4c11e0b1265a41472b6b25dd9e3d205674'/>
<id>urn:sha1:704b3f4c11e0b1265a41472b6b25dd9e3d205674</id>
<content type='text'>
The vfree() function performs also input parameter validation.
Thus the test around the call is not needed.

This issue was detected by using the Coccinelle software.

Signed-off-by: Markus Elfring &lt;elfring@users.sourceforge.net&gt;
Signed-off-by: Hans Verkuil &lt;hans.verkuil@cisco.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@osg.samsung.com&gt;
</content>
</entry>
<entry>
<title>[media] media: drivers shouldn't touch debug field in video_device</title>
<updated>2014-12-23T12:29:04Z</updated>
<author>
<name>Hans Verkuil</name>
<email>hans.verkuil@cisco.com</email>
</author>
<published>2014-12-01T13:10:43Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=21a7e0596a63abdf12a9591c29359f7f15e18c16'/>
<id>urn:sha1:21a7e0596a63abdf12a9591c29359f7f15e18c16</id>
<content type='text'>
The debug field in struct video_device is for internal use only and
drivers should mix that with their own debug module options.

It is handled by the V4L2 core and users can set it using
/sys/class/video4linux/&lt;devX&gt;/debug.

It has been deprecated for some time now, so it is time to remove it
completely from the drivers.

Signed-off-by: Hans Verkuil &lt;hans.verkuil@cisco.com&gt;
Acked-by: Sakari Ailus &lt;sakari.ailus@linux.intel.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@osg.samsung.com&gt;
</content>
</entry>
<entry>
<title>[media] v4l: Support extending the v4l2_pix_format structure</title>
<updated>2014-07-17T15:44:47Z</updated>
<author>
<name>Laurent Pinchart</name>
<email>laurent.pinchart+renesas@ideasonboard.com</email>
</author>
<published>2014-05-27T12:41:05Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=d52e23813672c3c72f92e7b39c7408d4b9a40a96'/>
<id>urn:sha1:d52e23813672c3c72f92e7b39c7408d4b9a40a96</id>
<content type='text'>
The v4l2_pix_format structure has no reserved field. It is embedded in
the v4l2_framebuffer structure which has no reserved fields either, and
in the v4l2_format structure which has reserved fields that were not
previously required to be zeroed out by applications.

To allow extending v4l2_pix_format, inline it in the v4l2_framebuffer
structure, and use the priv field as a magic value to indicate that the
application has set all v4l2_pix_format extended fields and zeroed all
reserved fields following the v4l2_pix_format field in the v4l2_format
structure.

The availability of this API extension is reported to userspace through
the new V4L2_CAP_EXT_PIX_FORMAT capability flag. Just checking that the
priv field is still set to the magic value at [GS]_FMT return wouldn't
be enough, as older kernels don't zero the priv field on return.

To simplify the internal API towards drivers zero the extended fields
and set the priv field to the magic value for applications not aware of
the extensions.

Signed-off-by: Laurent Pinchart &lt;laurent.pinchart+renesas@ideasonboard.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;m.chehab@samsung.com&gt;
</content>
</entry>
<entry>
<title>[media] media: remove the setting of the flag V4L2_FL_USE_FH_PRIO</title>
<updated>2014-07-04T19:14:59Z</updated>
<author>
<name>Ramakrishnan Muthukrishnan</name>
<email>ramakrmu@cisco.com</email>
</author>
<published>2014-06-19T17:22:58Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=95cd5d5ee67c2108765ae87d34761d54fd6671ce'/>
<id>urn:sha1:95cd5d5ee67c2108765ae87d34761d54fd6671ce</id>
<content type='text'>
Since all the drivers that use `struct v4l2_fh' use the core
priority checking, the setting of the flag in the drivers can
be removed.

Signed-off-by: Ramakrishnan Muthukrishnan &lt;ramakrmu@cisco.com&gt;
Reviewed-by: Hans Verkuil &lt;hans.verkuil@cisco.com&gt;
Signed-off-by: Hans Verkuil &lt;hans.verkuil@cisco.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;m.chehab@samsung.com&gt;
</content>
</entry>
<entry>
<title>[media] Add HCL T12Rg-H to STK webcam upside-down table</title>
<updated>2013-09-26T10:15:49Z</updated>
<author>
<name>Gregor Jasny</name>
<email>gjasny@googlemail.com</email>
</author>
<published>2013-09-08T18:31:44Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=08149ecf2cbf788b5a0d01481e290f84e4660c06'/>
<id>urn:sha1:08149ecf2cbf788b5a0d01481e290f84e4660c06</id>
<content type='text'>
The owner knows the system as "LX INFINITI Powerlite".
DMI information for this system:
System Information
        Manufacturer: HCL Infosystems Limited
        Product Name: T12Rg-H
        Version: 1.0
        Serial Number: B073A1189988
        UUID: 326B3F00-001D-602F-CFD2-4E45435F4349
        Wake-up Type: Power Switch
        SKU Number:
        Family:
Handle 0x0002, DMI type 2, 15 bytes
Base Board Information
        Manufacturer: HCL Infosystems Limited
        Product Name: T12Rg-H
        Version: 1.0
        Serial Number: BSN12345678901234567
        Asset Tag: ATN12345678901234567
        Features:
                Board is a hosting board
                Board is replaceable
        Location In Chassis:
        Chassis Handle: 0x0003
        Type: Motherboard
        Contained Object Handles: 0
Bus 001 Device 003: ID 05e1:0501 Syntek Semiconductor Co., Ltd DC-1125 Webcam

Signed-off-by: Gregor Jasny &lt;gjasny@googlemail.com&gt;
Reported-by: Noopur Srivastava &lt;noopur.018@gmail.com&gt;
Signed-off-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;m.chehab@samsung.com&gt;
</content>
</entry>
<entry>
<title>[media] stk-webcam: implement support for count == 0 when calling REQBUFS</title>
<updated>2013-03-05T17:44:17Z</updated>
<author>
<name>Hans Verkuil</name>
<email>hans.verkuil@cisco.com</email>
</author>
<published>2013-02-10T17:37:58Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=9776e17189d33b0ac9235597460d6a22cf1bc6a7'/>
<id>urn:sha1:9776e17189d33b0ac9235597460d6a22cf1bc6a7</id>
<content type='text'>
The spec specifies that setting count to 0 in v4l2_requestbuffers
should result in releasing any streaming resources and the stream
ownership. Implement this.

Signed-off-by: Hans Verkuil &lt;hans.verkuil@cisco.com&gt;
Tested-by: Arvydas Sidorenko &lt;asido4@gmail.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
<entry>
<title>[media] stk-webcam: s_fmt shouldn't grab ownership</title>
<updated>2013-03-05T17:44:04Z</updated>
<author>
<name>Hans Verkuil</name>
<email>hans.verkuil@cisco.com</email>
</author>
<published>2013-02-10T17:36:41Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=f81e372a5d11694b86fc35ded379a441c209b920'/>
<id>urn:sha1:f81e372a5d11694b86fc35ded379a441c209b920</id>
<content type='text'>
Signed-off-by: Hans Verkuil &lt;hans.verkuil@cisco.com&gt;
Tested-by: Arvydas Sidorenko &lt;asido4@gmail.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
<entry>
<title>[media] stk-webcam: fix read() handling when reqbufs was already called</title>
<updated>2013-03-05T17:43:41Z</updated>
<author>
<name>Hans Verkuil</name>
<email>hans.verkuil@cisco.com</email>
</author>
<published>2013-02-06T07:23:01Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=1b499fe506257369fd6059422989e36c71b99897'/>
<id>urn:sha1:1b499fe506257369fd6059422989e36c71b99897</id>
<content type='text'>
Signed-off-by: Hans Verkuil &lt;hans.verkuil@cisco.com&gt;
Tested-by: Arvydas Sidorenko &lt;asido4@gmail.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
<entry>
<title>[media] stk-webcam: enable core-locking</title>
<updated>2013-03-05T17:43:10Z</updated>
<author>
<name>Hans Verkuil</name>
<email>hans.verkuil@cisco.com</email>
</author>
<published>2013-02-04T12:27:32Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=f80daa2d7d7725559908909254d240c433cafc93'/>
<id>urn:sha1:f80daa2d7d7725559908909254d240c433cafc93</id>
<content type='text'>
This makes it possible to switch to unlocked_ioctl.

Signed-off-by: Hans Verkuil &lt;hans.verkuil@cisco.com&gt;
Tested-by: Arvydas Sidorenko &lt;asido4@gmail.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
<entry>
<title>[media] stk-webcam: zero the priv field of v4l2_pix_format</title>
<updated>2013-03-05T17:42:38Z</updated>
<author>
<name>Hans Verkuil</name>
<email>hans.verkuil@cisco.com</email>
</author>
<published>2013-02-04T12:18:14Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=8407653f5e2b9805958e0a392c0411ce027a3934'/>
<id>urn:sha1:8407653f5e2b9805958e0a392c0411ce027a3934</id>
<content type='text'>
The priv field should be set to 0. In this case the driver abused the priv
field for internal housekeeping. Modify the code so priv is no longer used
for that purpose.

Signed-off-by: Hans Verkuil &lt;hans.verkuil@cisco.com&gt;
Tested-by: Arvydas Sidorenko &lt;asido4@gmail.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
</feed>
