<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/media, branch v3.1</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/drivers/media?h=v3.1</id>
<link rel='self' href='https://git.amat.us/linux/atom/drivers/media?h=v3.1'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2011-10-19T11:48:08Z</updated>
<entry>
<title>[media] videodev: fix a NULL pointer dereference in v4l2_device_release()</title>
<updated>2011-10-19T11:48:08Z</updated>
<author>
<name>Antonio Ospite</name>
<email>ospite@studenti.unina.it</email>
</author>
<published>2011-10-12T20:59:26Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=e58fced201ad6e6cb673f07499919c3b20792d94'/>
<id>urn:sha1:e58fced201ad6e6cb673f07499919c3b20792d94</id>
<content type='text'>
The change in 8280b66 does not cover the case when v4l2_dev is already
NULL, fix that.

With a Kinect sensor, seen as an USB camera using GSPCA in this context,
a NULL pointer dereference BUG can be triggered by just unplugging the
device after the camera driver has been loaded.

Signed-off-by: Antonio Ospite &lt;ospite@studenti.unina.it&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
<entry>
<title>[media] omap3isp: Fix build error in ispccdc.c</title>
<updated>2011-09-22T01:18:26Z</updated>
<author>
<name>Joerg Roedel</name>
<email>joerg.roedel@amd.com</email>
</author>
<published>2011-09-06T14:02:15Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=e74d83aad3709a17d68f01481f2b5f240250b1c3'/>
<id>urn:sha1:e74d83aad3709a17d68f01481f2b5f240250b1c3</id>
<content type='text'>
The following build error occurs with 3.1-rc5:

  CC      drivers/media/video/omap3isp/ispccdc.o

This patch adds the missing 'linux/slab.h' include to fix the problem.

Signed-off-by: Joerg Roedel &lt;joerg.roedel@amd.com&gt;
Acked-by: Laurent Pinchart &lt;laurent.pinchart@ideasonboard.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
<entry>
<title>[media] uvcvideo: Fix crash when linking entities</title>
<updated>2011-09-22T01:18:07Z</updated>
<author>
<name>Laurent Pinchart</name>
<email>laurent.pinchart@ideasonboard.com</email>
</author>
<published>2011-09-06T22:16:18Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=4d9b2ebd335d83044b9e6656d0e604e8e1300334'/>
<id>urn:sha1:4d9b2ebd335d83044b9e6656d0e604e8e1300334</id>
<content type='text'>
The uvc_mc_register_entity() function wrongfully selects the
media_entity associated with a UVC entity when creating links. This
results in access to uninitialized media_entity structures and can hit a
BUG_ON statement in media_entity_create_link(). Fix it.

Signed-off-by: Laurent Pinchart &lt;laurent.pinchart@ideasonboard.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
<entry>
<title>[media] v4l: Make sure we hold a reference to the v4l2_device before using it</title>
<updated>2011-09-22T01:17:53Z</updated>
<author>
<name>Dave Young</name>
<email>hidave.darkstar@gmail.com</email>
</author>
<published>2011-09-06T12:08:08Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=236c5441d70312242b5b32d229259930046a80e5'/>
<id>urn:sha1:236c5441d70312242b5b32d229259930046a80e5</id>
<content type='text'>
v4l2_device_disconnect() calls dev_get_drvdata() and dev_set_drvdata()
on the device it received in v4l2_device_register(). Get a reference to
the device in v4l2_device_register() to make sure it won't disappear as
long as we need it.

Reported-by: Sitsofe Wheeler &lt;sitsofe@yahoo.com&gt;
Signed-off-by: Dave Young &lt;hidave.darkstar@gmail.com&gt;
Tested-by: Sitsofe Wheeler &lt;sitsofe@yahoo.com&gt;
Acked-by: Laurent Pinchart &lt;laurent.pinchart@ideasonboard.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
<entry>
<title>[media] v4l: Fix use-after-free case in v4l2_device_release</title>
<updated>2011-09-22T01:17:43Z</updated>
<author>
<name>Hans Verkuil</name>
<email>hverkuil@xs4all.nl</email>
</author>
<published>2011-09-06T13:23:18Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=8280b662df96f4172c4972b14a4aec0daf272b8f'/>
<id>urn:sha1:8280b662df96f4172c4972b14a4aec0daf272b8f</id>
<content type='text'>
Drivers that have no v4l2_device release callback might free the
v4l2_device instance in the video_device release callback. Make sure we
don't access the v4l2_device instance after it gets freed.

Signed-off-by: Laurent Pinchart &lt;laurent.pinchart@ideasonboard.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
<entry>
<title>[media] uvcvideo: Set alternate setting 0 on resume if the bus has been reset</title>
<updated>2011-09-22T01:17:14Z</updated>
<author>
<name>Ming Lei</name>
<email>tom.leiming@gmail.com</email>
</author>
<published>2011-07-16T03:51:00Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=dd182e5416e872e30d90cf071758eec1cf6340d5'/>
<id>urn:sha1:dd182e5416e872e30d90cf071758eec1cf6340d5</id>
<content type='text'>
If the bus has been reset on resume, set the alternate setting to 0.
This should be the default value, but some devices crash or otherwise
misbehave if they don't receive a SET_INTERFACE request before any other
video control request.

Microdia's 0c45:6437 camera has been found to require this change or it
will stop sending video data after resume.

uvc_video.c]

Signed-off-by: Ming Lei &lt;ming.lei@canonical.com&gt;
Signed-off-by: Laurent Pinchart &lt;laurent.pinchart@ideasonboard.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
<entry>
<title>[media] OMAP_VOUT: Fix build break caused by update_mode removal in DSS2</title>
<updated>2011-09-22T01:16:08Z</updated>
<author>
<name>archit taneja</name>
<email>archit@ti.com</email>
</author>
<published>2011-08-05T07:19:21Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=5ebbf72dc51bd3b481aa91fea37a7157da5fc548'/>
<id>urn:sha1:5ebbf72dc51bd3b481aa91fea37a7157da5fc548</id>
<content type='text'>
The DSS2 driver does not support the configuration of the update_mode of a
panel anymore. Remove the setting of update_mode done in omap_vout_probe().
Ignore configuration of TE since omap_vout driver doesn't support manual update
displays anyway.

Signed-off-by: Archit Taneja &lt;archit@ti.com&gt;
Tested-by: Koen Kooi &lt;koen@dominion.thruhere.net&gt;
Signed-off-by: Vaibhav Hiremath &lt;hvaibhav@ti.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
<entry>
<title>[media] vp7045: fix buffer setup</title>
<updated>2011-09-11T12:33:41Z</updated>
<author>
<name>Florian Mickler</name>
<email>florian@mickler.org</email>
</author>
<published>2011-08-10T10:05:20Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=fc61ccd35fd59d5362d37c8bf9c0526c85086c84'/>
<id>urn:sha1:fc61ccd35fd59d5362d37c8bf9c0526c85086c84</id>
<content type='text'>
dvb_usb_device_init calls the frontend_attach method of this driver which
uses vp7045_usb_ob. In order to have a buffer ready in vp7045_usb_op, it has to
be allocated before that happens.

Luckily we can use the whole private data as the buffer as it gets separately
allocated on the heap via kzalloc in dvb_usb_device_init and is thus apt for
use via usb_control_msg.

This fixes a
	BUG: unable to handle kernel paging request at 0000000000001e78

reported by Tino Keitel and diagnosed by Dan Carpenter.

Cc: stable@kernel.org # For v3.0 and upper
Tested-by: Tino Keitel &lt;tino.keitel@tikei.de&gt;
Signed-off-by: Florian Mickler &lt;florian@mickler.org&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
<entry>
<title>[media] nuvoton-cir: simplify raw IR sample handling</title>
<updated>2011-09-11T12:33:40Z</updated>
<author>
<name>Jarod Wilson</name>
<email>jarod@redhat.com</email>
</author>
<published>2011-08-08T20:20:40Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=de4ed0c111ed078b8729a5cc49c23197740f5bad'/>
<id>urn:sha1:de4ed0c111ed078b8729a5cc49c23197740f5bad</id>
<content type='text'>
The nuvoton-cir driver was storing up consecutive pulse-pulse and
space-space samples internally, for no good reason, since
ir_raw_event_store_with_filter() already merges back to back like
samples types for us. This should also fix a regression introduced late
in 3.0 that related to a timeout change, which actually becomes correct
when coupled with this change. Tested with RC6 and RC5 on my own
nuvoton-cir hardware atop vanilla 3.0.0, after verifying quirky
behavior in 3.0 due to the timeout change.

Reported-by: Stephan Raue &lt;sraue@openelec.tv&gt;
CC: Stephan Raue &lt;sraue@openelec.tv&gt;
CC: stable@vger.kernel.org
Signed-off-by: Jarod Wilson &lt;jarod@redhat.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
<entry>
<title>[media] [Resend] viacam: Don't explode if pci_find_bus() returns NULL</title>
<updated>2011-09-11T12:33:39Z</updated>
<author>
<name>Jesper Juhl</name>
<email>jj@chaosbits.net</email>
</author>
<published>2011-08-01T21:39:17Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=c8814df3a578895390fe5c05a76328d8d111ed25'/>
<id>urn:sha1:c8814df3a578895390fe5c05a76328d8d111ed25</id>
<content type='text'>
In the unlikely case that pci_find_bus() should return NULL
viacam_serial_is_enabled() is going to dereference a NULL pointer and
blow up. Better safe than sorry, so be defensive and check the
pointer.

Signed-off-by: Jesper Juhl &lt;jj@chaosbits.net&gt;
Acked-by: Jonathan Corbet &lt;corbet@lwn.net&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
</feed>
