<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/media, branch v3.11</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/drivers/media?h=v3.11</id>
<link rel='self' href='https://git.amat.us/linux/atom/drivers/media?h=v3.11'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2013-08-09T22:04:09Z</updated>
<entry>
<title>Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media</title>
<updated>2013-08-09T22:04:09Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2013-08-09T22:04:09Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=79a6fb1acec93ef829a59d88429aafddf42793d3'/>
<id>urn:sha1:79a6fb1acec93ef829a59d88429aafddf42793d3</id>
<content type='text'>
Pull media fixes from Mauro Carvalho Chehab:
 "Some driver fixes (em28xx, coda, usbtv, s5p, hdpvr and ml86v7667) and
  a fix for media DocBook"

* 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media:
  [media] em28xx: fix assignment of the eeprom data
  [media] hdpvr: fix iteration over uninitialized lists in hdpvr_probe()
  [media] usbtv: fix dependency
  [media] usbtv: Throw corrupted frames away
  [media] usbtv: Fix deinterlacing
  [media] v4l2: added missing mutex.h include to v4l2-ctrls.h
  [media] DocBook: upgrade media_api DocBook version to 4.2
  [media] ml86v7667: fix compile warning: 'ret' set but not used
  [media] s5p-g2d: Fix registration failure
  [media] media: coda: Fix DT driver data pointer for i.MX27
  [media] s5p-mfc: Fix input/output format reporting
</content>
</entry>
<entry>
<title>[media] em28xx: fix assignment of the eeprom data</title>
<updated>2013-07-26T15:28:03Z</updated>
<author>
<name>Alban Browaeys</name>
<email>alban.browaeys@gmail.com</email>
</author>
<published>2013-07-16T21:57:53Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=f813b5775b471b656382ae8f087bb34dc894261f'/>
<id>urn:sha1:f813b5775b471b656382ae8f087bb34dc894261f</id>
<content type='text'>
Set the config structure pointer to the eeprom data pointer (data,
here eedata dereferenced) not the pointer to the pointer to
the eeprom data (eedata itself).

Signed-off-by: Alban Browaeys &lt;prahal@yahoo.com&gt;
Signed-off-by: Frank Schäfer &lt;fschaefer.oss@googlemail.com&gt;
Cc: stable@vger.kernel.org      # for v3.10
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] hdpvr: fix iteration over uninitialized lists in hdpvr_probe()</title>
<updated>2013-07-26T13:32:48Z</updated>
<author>
<name>Alexey Khoroshilov</name>
<email>khoroshilov@ispras.ru</email>
</author>
<published>2013-07-03T19:17:34Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=e2f11c58ae49d57b0e634685dd944c1771ba38c0'/>
<id>urn:sha1:e2f11c58ae49d57b0e634685dd944c1771ba38c0</id>
<content type='text'>
free_buff_list and rec_buff_list are initialized in the middle of hdpvr_probe(),
but if something bad happens before that, error handling code calls hdpvr_delete(),
which contains iteration over the lists (via hdpvr_free_buffers()).
The patch moves the lists initialization to the beginning and by the way fixes
goto label in error handling of registering videodev.
Found by Linux Driver Verification project (linuxtesting.org).

Signed-off-by: Alexey Khoroshilov &lt;khoroshilov@ispras.ru&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] usbtv: fix dependency</title>
<updated>2013-07-26T13:32:16Z</updated>
<author>
<name>Hans Verkuil</name>
<email>hverkuil@xs4all.nl</email>
</author>
<published>2013-06-28T07:24:15Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=4f24abb51ffe24d1a1442fdd3648a2e521487c1b'/>
<id>urn:sha1:4f24abb51ffe24d1a1442fdd3648a2e521487c1b</id>
<content type='text'>
This fixes a dependency problem as found by Randy Dunlap:
https://lkml.org/lkml/2013/6/27/501

Reported-by: Randy Dunlap &lt;rdunlap@infradead.org&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] usbtv: Throw corrupted frames away</title>
<updated>2013-07-26T13:30:36Z</updated>
<author>
<name>Lubomir Rintel</name>
<email>lkundrak@v3.sk</email>
</author>
<published>2013-07-02T10:56:39Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=f52dc448a344ddb90c8516c06656d62710baa869'/>
<id>urn:sha1:f52dc448a344ddb90c8516c06656d62710baa869</id>
<content type='text'>
Ignore out of order data and mark incomplete buffers as errored.
This gets rid of annoying flicker due to occassional garbage from hardware.

Signed-off-by: Lubomir Rintel &lt;lkundrak@v3.sk&gt;
Cc: Hans Verkuil &lt;hans.verkuil@cisco.com&gt;
Cc: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
Cc: linux-kernel@vger.kernel.org
Cc: linux-media@vger.kernel.org
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] usbtv: Fix deinterlacing</title>
<updated>2013-07-26T13:29:52Z</updated>
<author>
<name>Lubomir Rintel</name>
<email>lkundrak@v3.sk</email>
</author>
<published>2013-07-02T10:56:38Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=a34cacab1565fdee77544b12407274ffb4d9daa0'/>
<id>urn:sha1:a34cacab1565fdee77544b12407274ffb4d9daa0</id>
<content type='text'>
The image data is laid out a bit more weirdly and thus needs more work to
properly interlace. What we get from hardware is V4L2_FIELD_ALTERNATE, but
since userspace support for it is practically nonexistent, thus we make
V4L2_FIELD_INTERLACED from it so that it's more easily interpreted.

Signed-off-by: Lubomir Rintel &lt;lkundrak@v3.sk&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] ml86v7667: fix compile warning: 'ret' set but not used</title>
<updated>2013-07-26T13:14:10Z</updated>
<author>
<name>Hans Verkuil</name>
<email>hans.verkuil@cisco.com</email>
</author>
<published>2013-06-30T07:40:32Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=3f1a94ba9fce90dbe0d26806a027964bea7adc14'/>
<id>urn:sha1:3f1a94ba9fce90dbe0d26806a027964bea7adc14</id>
<content type='text'>
media_build/v4l/ml86v7667.c: In function 'ml86v7667_s_ctrl':
media_build/v4l/ml86v7667.c:120:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
  int ret;
      ^
And indeed, ret is set but not used. Let's actually return the error
code.

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] s5p-g2d: Fix registration failure</title>
<updated>2013-07-26T10:21:35Z</updated>
<author>
<name>Sachin Kamat</name>
<email>sachin.kamat@linaro.org</email>
</author>
<published>2013-07-15T05:36:23Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=8b64f75588ad87c9d6daa385817a4d43af6877be'/>
<id>urn:sha1:8b64f75588ad87c9d6daa385817a4d43af6877be</id>
<content type='text'>
Commit 1c1d86a1ea ("[media] v4l2: always require v4l2_dev,
rename parent to dev_parent") expects v4l2_dev to be always set.
It converted most of the drivers using the parent field of video_device
to v4l2_dev field. G2D driver did not set the parent field. Hence it got
left out. Without this patch we get the following boot warning and G2D
driver fails to register the video device.
WARNING: CPU: 0 PID: 1 at drivers/media/v4l2-core/v4l2-dev.c:775 __video_register_device+0xfc0/0x1028()
Modules linked in:
CPU: 0 PID: 1 Comm: swapper/0 Not tainted 3.11.0-rc1-00001-g1c3e372-dirty #9
[&lt;c0014b7c&gt;] (unwind_backtrace+0x0/0xf4) from [&lt;c0011524&gt;] (show_stack+0x10/0x14)
[&lt;c0011524&gt;] (show_stack+0x10/0x14) from [&lt;c041d7a8&gt;] (dump_stack+0x7c/0xb0)
[&lt;c041d7a8&gt;] (dump_stack+0x7c/0xb0) from [&lt;c001dc94&gt;] (warn_slowpath_common+0x6c/0x88)
[&lt;c001dc94&gt;] (warn_slowpath_common+0x6c/0x88) from [&lt;c001dd4c&gt;] (warn_slowpath_null+0x1c/0x24)
[&lt;c001dd4c&gt;] (warn_slowpath_null+0x1c/0x24) from [&lt;c02cf8d4&gt;] (__video_register_device+0xfc0/0x1028)
[&lt;c02cf8d4&gt;] (__video_register_device+0xfc0/0x1028) from [&lt;c0311a94&gt;] (g2d_probe+0x1f8/0x398)
[&lt;c0311a94&gt;] (g2d_probe+0x1f8/0x398) from [&lt;c0247d54&gt;] (platform_drv_probe+0x14/0x18)
[&lt;c0247d54&gt;] (platform_drv_probe+0x14/0x18) from [&lt;c0246b10&gt;] (driver_probe_device+0x108/0x220)
[&lt;c0246b10&gt;] (driver_probe_device+0x108/0x220) from [&lt;c0246cf8&gt;] (__driver_attach+0x8c/0x90)
[&lt;c0246cf8&gt;] (__driver_attach+0x8c/0x90) from [&lt;c0245050&gt;] (bus_for_each_dev+0x60/0x94)
[&lt;c0245050&gt;] (bus_for_each_dev+0x60/0x94) from [&lt;c02462c8&gt;] (bus_add_driver+0x1c0/0x24c)
[&lt;c02462c8&gt;] (bus_add_driver+0x1c0/0x24c) from [&lt;c02472d0&gt;] (driver_register+0x78/0x140)
[&lt;c02472d0&gt;] (driver_register+0x78/0x140) from [&lt;c00087c8&gt;] (do_one_initcall+0xf8/0x144)
[&lt;c00087c8&gt;] (do_one_initcall+0xf8/0x144) from [&lt;c05b29e8&gt;] (kernel_init_freeable+0x13c/0x1d8)
[&lt;c05b29e8&gt;] (kernel_init_freeable+0x13c/0x1d8) from [&lt;c041a108&gt;] (kernel_init+0xc/0x160)
[&lt;c041a108&gt;] (kernel_init+0xc/0x160) from [&lt;c000e2f8&gt;] (ret_from_fork+0x14/0x3c)
---[ end trace 4e0ec028b0028e02 ]---
s5p-g2d 12800000.g2d: Failed to register video device
s5p-g2d: probe of 12800000.g2d failed with error -22

Signed-off-by: Sachin Kamat &lt;sachin.kamat@linaro.org&gt;
Cc: Hans Verkuil &lt;hans.verkuil@cisco.com&gt;
Signed-off-by: Kamil Debski &lt;k.debski@samsung.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;m.chehab@samsung.com&gt;
</content>
</entry>
<entry>
<title>[media] media: coda: Fix DT driver data pointer for i.MX27</title>
<updated>2013-07-26T10:14:00Z</updated>
<author>
<name>Alexander Shiyan</name>
<email>shc_work@mail.ru</email>
</author>
<published>2013-06-15T11:09:57Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=66da64f06755134aee54d127bca54159fbbdcfb8'/>
<id>urn:sha1:66da64f06755134aee54d127bca54159fbbdcfb8</id>
<content type='text'>
The data pointer should point to DT data, and not to the ID
array.

Signed-off-by: Alexander Shiyan &lt;shc_work@mail.ru&gt;
Signed-off-by: Kamil Debski &lt;k.debski@samsung.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;m.chehab@samsung.com&gt;
</content>
</entry>
<entry>
<title>[media] s5p-mfc: Fix input/output format reporting</title>
<updated>2013-07-26T01:46:36Z</updated>
<author>
<name>John Sheu</name>
<email>sheu@chromium.org</email>
</author>
<published>2013-05-30T19:42:08Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=b2634562ad90be16441cff1127136457ea619466'/>
<id>urn:sha1:b2634562ad90be16441cff1127136457ea619466</id>
<content type='text'>
The video encode/decode paths have duplicated logic between
VIDIOC_TRY_FMT and VIDIOC_S_FMT that should be de-duped.  Also, video
decode reports V4L2_PIX_FMT_NV12MT_16X16 output format, regardless of
what the actual output has been set at.  Fix this.

Signed-off-by: John Sheu &lt;sheu@google.com&gt;
Signed-off-by: Kamil Debski &lt;k.debski@samsung.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;m.chehab@samsung.com&gt;
</content>
</entry>
</feed>
