<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/media/platform, branch linux-3.15.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.15.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.15.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2014-07-01T03:13:58Z</updated>
<entry>
<title>media: exynos4-is: Fix compilation for !CONFIG_COMMON_CLK</title>
<updated>2014-07-01T03:13:58Z</updated>
<author>
<name>Sylwester Nawrocki</name>
</author>
<published>2014-04-15T17:34:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=079716fe1bb5dd904ecb75b23e8846b45bb116e2'/>
<id>urn:sha1:079716fe1bb5dd904ecb75b23e8846b45bb116e2</id>
<content type='text'>
commit f486e7c3cb9849b6a661931fa8c51a43d477046b upstream.

CONFIG_COMMON_CLK is not enabled on S5PV210 platform, so include
some clk API data structures conditionally to avoid compilation
errors. These #ifdefs will be removed for next kernel release,
when the S5PV210 platform moves to DT and the common clk API.

Signed-off-by: Sylwester Nawrocki &lt;s.nawrocki@samsung.com&gt;
Acked-by: Kyungmin Park &lt;kyungmin.park@samsung.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;m.chehab@samsung.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>media: exynos4-is: Free FIMC-IS CPU memory only when allocated</title>
<updated>2014-07-01T03:13:58Z</updated>
<author>
<name>Sylwester Nawrocki</name>
</author>
<published>2014-05-08T17:35:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=30520611a4f41bf1276959ad77f1faabed5c09de'/>
<id>urn:sha1:30520611a4f41bf1276959ad77f1faabed5c09de</id>
<content type='text'>
commit 404a90abc60f60df2757cb272660e003d326881f upstream.

Ensure dma_free_coherent() is not called with incorrect arguments
and only when the memory was actually allocated. This will prevent
possible crashes on error paths of the top level media device driver,
when fimc-is device gets unregistered and its driver detached.

Signed-off-by: Sylwester Nawrocki &lt;s.nawrocki@samsung.com&gt;
Acked-by: Kyungmin Park &lt;kyungmin.park@samsung.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;m.chehab@samsung.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media</title>
<updated>2014-05-21T10:01:08Z</updated>
<author>
<name>Linus Torvalds</name>
</author>
<published>2014-05-21T10:01:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fba69f042ad99f68c0268ef1c012f3199f898fac'/>
<id>urn:sha1:fba69f042ad99f68c0268ef1c012f3199f898fac</id>
<content type='text'>
Pull media fixes from Mauro Carvalho Chehab:
 "Most of the changes are drivers fixes (rtl28xuu, fc2580, ov7670,
  davinci, gspca, s5p-fimc and s5c73m3).

  There is also a compat32 fix and one infoleak fixup at the media
  controller"

* 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media:
  [media] V4L2: fix VIDIOC_CREATE_BUFS in 64- / 32-bit compatibility mode
  [media] V4L2: ov7670: fix a wrong index, potentially Oopsing the kernel from user-space
  [media] media-device: fix infoleak in ioctl media_enum_entities()
  [media] fc2580: fix tuning failure on 32-bit arch
  [media] Prefer gspca_sonixb over sn9c102 for all devices
  [media] media: davinci: vpfe: make sure all the buffers unmapped and released
  [media] staging: media: davinci: vpfe: make sure all the buffers are released
  [media] media: davinci: vpbe_display: fix releasing of active buffers
  [media] media: davinci: vpif_display: fix releasing of active buffers
  [media] media: davinci: vpif_capture: fix releasing of active buffers
  [media] s5p-fimc: Fix YUV422P depth
  [media] s5c73m3: Add missing rename of v4l2_of_get_next_endpoint() function
  [media] rtl28xxu: silence error log about disabled rtl2832_sdr module
  [media] rtl28xxu: do not hard depend on staging SDR module
</content>
</entry>
<entry>
<title>platform: Fix timberdale dependencies</title>
<updated>2014-04-16T06:27:27Z</updated>
<author>
<name>Jean Delvare</name>
</author>
<published>2014-04-03T09:32:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2dda47d1a416750bf69eb11dd9b6607d18287b0c'/>
<id>urn:sha1:2dda47d1a416750bf69eb11dd9b6607d18287b0c</id>
<content type='text'>
VIDEO_TIMBERDALE selects TIMB_DMA which itself depends on
MFD_TIMBERDALE, so VIDEO_TIMBERDALE should either select or depend on
MFD_TIMBERDALE as well. I chose to make it depend on it because I
think it makes more sense and it is consistent with what other options
are doing.

Adding a "|| HAS_IOMEM" to the TIMB_DMA dependencies silenced the
kconfig warning about unmet direct dependencies but it was wrong:
without MFD_TIMBERDALE, TIMB_DMA is useless as the driver has no
device to bind to.

Signed-off-by: Jean Delvare &lt;jdelvare@suse.de&gt;
Cc: Vinod Koul &lt;vinod.koul@intel.com&gt;
Cc: Dan Williams &lt;dan.j.williams@intel.com&gt;
Cc: Mauro Carvalho Chehab &lt;m.chehab@samsung.com&gt;
Signed-off-by: Vinod Koul &lt;vinod.koul@intel.com&gt;
</content>
</entry>
<entry>
<title>[media] media: davinci: vpfe: make sure all the buffers unmapped and released</title>
<updated>2014-04-15T12:54:38Z</updated>
<author>
<name>Lad, Prabhakar</name>
</author>
<published>2014-03-23T05:44:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c1d1e40b8bbd712d6a8c74d8278178c8448b7abc'/>
<id>urn:sha1:c1d1e40b8bbd712d6a8c74d8278178c8448b7abc</id>
<content type='text'>
this patch makes sure that it terminates if any IO in
progress and also makes sure that all the buffers are unmapped.
It was observed that with several runs of application the application
sometimes failed to allocate memory, This patch makes sure it
all the buffers are released.

Using kmemleak it was found that buffer were not released, this patch
fixes following issue,

 echo scan &gt; /sys/kernel/debug/kmemleak
  Kernel message reads:
      memleak: 3 new suspected memory leaks (see /sys/kernel/debug/kmemleak)

Then,
     cat /sys/kernel/debug/kmemleak

  unreferenced object 0xc564a480 (size 192):
  comm "mttest", pid 764, jiffies 4294945878 (age 487.160s)
  hex dump (first 32 bytes):
    00 00 00 00 28 07 07 20 d0 02 00 00 e0 01 00 00  ....(.. ........
    00 00 00 00 00 64 05 00 01 00 00 00 01 00 00 00  .....d..........
  backtrace:
    [&lt;c00a98dc&gt;] create_object+0x10c/0x28c
    [&lt;c03ba8ec&gt;] kmemleak_alloc+0x3c/0x70
    [&lt;c00a67c0&gt;] __kmalloc+0x11c/0x1d4
    [&lt;c02b6f48&gt;] __videobuf_alloc+0x1c/0x3c
    [&lt;c02b6194&gt;] videobuf_alloc_vb+0x38/0x80
    [&lt;c02b6638&gt;] __videobuf_mmap_setup+0x9c/0x108
    [&lt;c02b6da0&gt;] videobuf_reqbufs.part.10+0x12c/0x1bc
    [&lt;c02b6e9c&gt;] videobuf_reqbufs+0x6c/0x8c
    [&lt;c02be2c4&gt;] vpfe_reqbufs+0xcc/0x130
    [&lt;c02aae90&gt;] v4l_reqbufs+0x50/0x54
    [&lt;c02aab54&gt;] __video_do_ioctl+0x260/0x2c4
    [&lt;c02a9dd4&gt;] video_usercopy+0xf0/0x310
    [&lt;c02aa008&gt;] video_ioctl2+0x14/0x1c
    [&lt;c02a562c&gt;] v4l2_ioctl+0x104/0x14c
    [&lt;c00bd320&gt;] do_vfs_ioctl+0x80/0x2d0
    [&lt;c00bd5b4&gt;] SyS_ioctl+0x44/0x64
unreferenced object 0xc564ac00 (size 192):
  comm "mttest", pid 764, jiffies 4294945878 (age 487.160s)
  hex dump (first 32 bytes):
    01 00 00 00 28 07 07 20 d0 02 00 00 e0 01 00 00  ....(.. ........
    00 00 00 00 00 64 05 00 01 00 00 00 01 00 00 00  .....d..........
  backtrace:
    [&lt;c00a98dc&gt;] create_object+0x10c/0x28c
    [&lt;c03ba8ec&gt;] kmemleak_alloc+0x3c/0x70
    [&lt;c00a67c0&gt;] __kmalloc+0x11c/0x1d4
    [&lt;c02b6f48&gt;] __videobuf_alloc+0x1c/0x3c
    [&lt;c02b6194&gt;] videobuf_alloc_vb+0x38/0x80
    [&lt;c02b6638&gt;] __videobuf_mmap_setup+0x9c/0x108
    [&lt;c02b6da0&gt;] videobuf_reqbufs.part.10+0x12c/0x1bc
    [&lt;c02b6e9c&gt;] videobuf_reqbufs+0x6c/0x8c
    [&lt;c02be2c4&gt;] vpfe_reqbufs+0xcc/0x130
    [&lt;c02aae90&gt;] v4l_reqbufs+0x50/0x54
    [&lt;c02aab54&gt;] __video_do_ioctl+0x260/0x2c4
    [&lt;c02a9dd4&gt;] video_usercopy+0xf0/0x310
    [&lt;c02aa008&gt;] video_ioctl2+0x14/0x1c
    [&lt;c02a562c&gt;] v4l2_ioctl+0x104/0x14c
    [&lt;c00bd320&gt;] do_vfs_ioctl+0x80/0x2d0
    [&lt;c00bd5b4&gt;] SyS_ioctl+0x44/0x64
unreferenced object 0xc564a180 (size 192):
  comm "mttest", pid 764, jiffies 4294945880 (age 487.140s)
  hex dump (first 32 bytes):
    02 00 00 00 28 07 07 20 d0 02 00 00 e0 01 00 00  ....(.. ........
    00 00 00 00 00 64 05 00 01 00 00 00 01 00 00 00  .....d..........
  backtrace:
    [&lt;c00a98dc&gt;] create_object+0x10c/0x28c
    [&lt;c03ba8ec&gt;] kmemleak_alloc+0x3c/0x70
    [&lt;c00a67c0&gt;] __kmalloc+0x11c/0x1d4
    [&lt;c02b6f48&gt;] __videobuf_alloc+0x1c/0x3c
    [&lt;c02b6194&gt;] videobuf_alloc_vb+0x38/0x80
    [&lt;c02b6638&gt;] __videobuf_mmap_setup+0x9c/0x108
    [&lt;c02b6da0&gt;] videobuf_reqbufs.part.10+0x12c/0x1bc
    [&lt;c02b6e9c&gt;] videobuf_reqbufs+0x6c/0x8c
    [&lt;c02be2c4&gt;] vpfe_reqbufs+0xcc/0x130
    [&lt;c02aae90&gt;] v4l_reqbufs+0x50/0x54
    [&lt;c02aab54&gt;] __video_do_ioctl+0x260/0x2c4
    [&lt;c02a9dd4&gt;] video_usercopy+0xf0/0x310
    [&lt;c02aa008&gt;] video_ioctl2+0x14/0x1c
    [&lt;c02a562c&gt;] v4l2_ioctl+0x104/0x14c
    [&lt;c00bd320&gt;] do_vfs_ioctl+0x80/0x2d0
    [&lt;c00bd5b4&gt;] SyS_ioctl+0x44/0x64

Reported-by: Jimmy Ho &lt;jimmygge@gmail.com&gt;
Signed-off-by: Lad, Prabhakar &lt;prabhakar.csengg@gmail.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] media: davinci: vpbe_display: fix releasing of active buffers</title>
<updated>2014-04-15T12:50:56Z</updated>
<author>
<name>Lad, Prabhakar</name>
</author>
<published>2014-03-22T11:03:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b699f09d0d003cc1622aec30d81f3158da6790aa'/>
<id>urn:sha1:b699f09d0d003cc1622aec30d81f3158da6790aa</id>
<content type='text'>
from commit-id: b3379c6201bb3555298cdbf0aa004af260f2a6a4
"vb2: only call start_streaming if sufficient buffers are queued"
the vb2 framework warns on (WARN_ON()) if all the active buffers
are not released when streaming is stopped, initially the vb2 silently
released the buffer internally if the buffer was not released by
the driver.
This patch fixes following issue:

WARNING: CPU: 0 PID: 2049 at drivers/media/v4l2-core/videobuf2-core.c:2011 __vb2_queue_cancel+0x1a0/0x218()
Modules linked in:
CPU: 0 PID: 2049 Comm: vpbe_display Tainted: G        W    3.14.0-rc5-00414-ged97a6f #89
[&lt;c000e3f0&gt;] (unwind_backtrace) from [&lt;c000c618&gt;] (show_stack+0x10/0x14)
[&lt;c000c618&gt;] (show_stack) from [&lt;c001adb0&gt;] (warn_slowpath_common+0x68/0x88)
[&lt;c001adb0&gt;] (warn_slowpath_common) from [&lt;c001adec&gt;] (warn_slowpath_null+0x1c/0x24)
[&lt;c001adec&gt;] (warn_slowpath_null) from [&lt;c0252e0c&gt;] (__vb2_queue_cancel+0x1a0/0x218)
[&lt;c0252e0c&gt;] (__vb2_queue_cancel) from [&lt;c02533a4&gt;] (vb2_queue_release+0x14/0x24)
[&lt;c02533a4&gt;] (vb2_queue_release) from [&lt;c025a65c&gt;] (vpbe_display_release+0x60/0x230)
[&lt;c025a65c&gt;] (vpbe_display_release) from [&lt;c023fe5c&gt;] (v4l2_release+0x34/0x74)
[&lt;c023fe5c&gt;] (v4l2_release) from [&lt;c00b4a00&gt;] (__fput+0x80/0x224)
[&lt;c00b4a00&gt;] (__fput) from [&lt;c00341e8&gt;] (task_work_run+0xa0/0xd0)
[&lt;c00341e8&gt;] (task_work_run) from [&lt;c001cc28&gt;] (do_exit+0x244/0x918)
[&lt;c001cc28&gt;] (do_exit) from [&lt;c001d344&gt;] (do_group_exit+0x48/0xdc)
[&lt;c001d344&gt;] (do_group_exit) from [&lt;c0029894&gt;] (get_signal_to_deliver+0x2a0/0x5bc)
[&lt;c0029894&gt;] (get_signal_to_deliver) from [&lt;c000b888&gt;] (do_signal+0x78/0x3a0)
[&lt;c000b888&gt;] (do_signal) from [&lt;c000bc54&gt;] (do_work_pending+0xa4/0xb4)
[&lt;c000bc54&gt;] (do_work_pending) from [&lt;c00096dc&gt;] (work_pending+0xc/0x20)
---[ end trace 5faa75e8c2f8a6a1 ]---
------------[ cut here ]------------
WARNING: CPU: 0 PID: 2049 at drivers/media/v4l2-core/videobuf2-core.c:1095 vb2_buffer_done+0x1e0/0x224()
Modules linked in:
CPU: 0 PID: 2049 Comm: vpbe_display Tainted: G        W    3.14.0-rc5-00414-ged97a6f #89
[&lt;c000e3f0&gt;] (unwind_backtrace) from [&lt;c000c618&gt;] (show_stack+0x10/0x14)
[&lt;c000c618&gt;] (show_stack) from [&lt;c001adb0&gt;] (warn_slowpath_common+0x68/0x88)
[&lt;c001adb0&gt;] (warn_slowpath_common) from [&lt;c001adec&gt;] (warn_slowpath_null+0x1c/0x24)
[&lt;c001adec&gt;] (warn_slowpath_null) from [&lt;c0252c28&gt;] (vb2_buffer_done+0x1e0/0x224)
[&lt;c0252c28&gt;] (vb2_buffer_done) from [&lt;c0252e3c&gt;] (__vb2_queue_cancel+0x1d0/0x218)
[&lt;c0252e3c&gt;] (__vb2_queue_cancel) from [&lt;c02533a4&gt;] (vb2_queue_release+0x14/0x24)
[&lt;c02533a4&gt;] (vb2_queue_release) from [&lt;c025a65c&gt;] (vpbe_display_release+0x60/0x230)
[&lt;c025a65c&gt;] (vpbe_display_release) from [&lt;c023fe5c&gt;] (v4l2_release+0x34/0x74)
[&lt;c023fe5c&gt;] (v4l2_release) from [&lt;c00b4a00&gt;] (__fput+0x80/0x224)
[&lt;c00b4a00&gt;] (__fput) from [&lt;c00341e8&gt;] (task_work_run+0xa0/0xd0)
[&lt;c00341e8&gt;] (task_work_run) from [&lt;c001cc28&gt;] (do_exit+0x244/0x918)
[&lt;c001cc28&gt;] (do_exit) from [&lt;c001d344&gt;] (do_group_exit+0x48/0xdc)
[&lt;c001d344&gt;] (do_group_exit) from [&lt;c0029894&gt;] (get_signal_to_deliver+0x2a0/0x5bc)
[&lt;c0029894&gt;] (get_signal_to_deliver) from [&lt;c000b888&gt;] (do_signal+0x78/0x3a0)
[&lt;c000b888&gt;] (do_signal) from [&lt;c000bc54&gt;] (do_work_pending+0xa4/0xb4)
[&lt;c000bc54&gt;] (do_work_pending) from [&lt;c00096dc&gt;] (work_pending+0xc/0x20)
---[ end trace 5faa75e8c2f8a6a2 ]---

Signed-off-by: Lad, Prabhakar &lt;prabhakar.csengg@gmail.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] media: davinci: vpif_display: fix releasing of active buffers</title>
<updated>2014-04-15T12:50:46Z</updated>
<author>
<name>Lad, Prabhakar</name>
</author>
<published>2014-03-22T11:03:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=18c7adcf2c1abf7f554a52f57bee126995791748'/>
<id>urn:sha1:18c7adcf2c1abf7f554a52f57bee126995791748</id>
<content type='text'>
from commit-id: b3379c6201bb3555298cdbf0aa004af260f2a6a4
"vb2: only call start_streaming if sufficient buffers are queued"
the vb2 framework warns on (WARN_ON()) if all the active buffers
are not released when streaming is stopped, initially the vb2 silently
released the buffer internally if the buffer was not released by
the driver.
Also this patch moves the disabling of interrupts from relase() callback
to stop_streaming() callback as which needs to be done ideally.

This patch fixes following issue:

WARNING: CPU: 0 PID: 2049 at drivers/media/v4l2-core/videobuf2-core.c:2011 __vb2_queue_cancel+0x1a0/0x218()
Modules linked in:
CPU: 0 PID: 2049 Comm: vpif_display Tainted: G        W    3.14.0-rc5-00414-ged97a6f #89
[&lt;c000e3f0&gt;] (unwind_backtrace) from [&lt;c000c618&gt;] (show_stack+0x10/0x14)
[&lt;c000c618&gt;] (show_stack) from [&lt;c001adb0&gt;] (warn_slowpath_common+0x68/0x88)
[&lt;c001adb0&gt;] (warn_slowpath_common) from [&lt;c001adec&gt;] (warn_slowpath_null+0x1c/0x24)
[&lt;c001adec&gt;] (warn_slowpath_null) from [&lt;c0252e0c&gt;] (__vb2_queue_cancel+0x1a0/0x218)
[&lt;c0252e0c&gt;] (__vb2_queue_cancel) from [&lt;c02533a4&gt;] (vb2_queue_release+0x14/0x24)
[&lt;c02533a4&gt;] (vb2_queue_release) from [&lt;c025a65c&gt;] (vpif_release+0x60/0x230)
[&lt;c025a65c&gt;] (vpif_release) from [&lt;c023fe5c&gt;] (v4l2_release+0x34/0x74)
[&lt;c023fe5c&gt;] (v4l2_release) from [&lt;c00b4a00&gt;] (__fput+0x80/0x224)
[&lt;c00b4a00&gt;] (__fput) from [&lt;c00341e8&gt;] (task_work_run+0xa0/0xd0)
[&lt;c00341e8&gt;] (task_work_run) from [&lt;c001cc28&gt;] (do_exit+0x244/0x918)
[&lt;c001cc28&gt;] (do_exit) from [&lt;c001d344&gt;] (do_group_exit+0x48/0xdc)
[&lt;c001d344&gt;] (do_group_exit) from [&lt;c0029894&gt;] (get_signal_to_deliver+0x2a0/0x5bc)
[&lt;c0029894&gt;] (get_signal_to_deliver) from [&lt;c000b888&gt;] (do_signal+0x78/0x3a0)
[&lt;c000b888&gt;] (do_signal) from [&lt;c000bc54&gt;] (do_work_pending+0xa4/0xb4)
[&lt;c000bc54&gt;] (do_work_pending) from [&lt;c00096dc&gt;] (work_pending+0xc/0x20)
---[ end trace 5faa75e8c2f8a6a1 ]---
------------[ cut here ]------------
WARNING: CPU: 0 PID: 2049 at drivers/media/v4l2-core/videobuf2-core.c:1095 vb2_buffer_done+0x1e0/0x224()
Modules linked in:
CPU: 0 PID: 2049 Comm: vpif_display Tainted: G        W    3.14.0-rc5-00414-ged97a6f #89
[&lt;c000e3f0&gt;] (unwind_backtrace) from [&lt;c000c618&gt;] (show_stack+0x10/0x14)
[&lt;c000c618&gt;] (show_stack) from [&lt;c001adb0&gt;] (warn_slowpath_common+0x68/0x88)
[&lt;c001adb0&gt;] (warn_slowpath_common) from [&lt;c001adec&gt;] (warn_slowpath_null+0x1c/0x24)
[&lt;c001adec&gt;] (warn_slowpath_null) from [&lt;c0252c28&gt;] (vb2_buffer_done+0x1e0/0x224)
[&lt;c0252c28&gt;] (vb2_buffer_done) from [&lt;c0252e3c&gt;] (__vb2_queue_cancel+0x1d0/0x218)
[&lt;c0252e3c&gt;] (__vb2_queue_cancel) from [&lt;c02533a4&gt;] (vb2_queue_release+0x14/0x24)
[&lt;c02533a4&gt;] (vb2_queue_release) from [&lt;c025a65c&gt;] (vpif_release+0x60/0x230)
[&lt;c025a65c&gt;] (vpif_release) from [&lt;c023fe5c&gt;] (v4l2_release+0x34/0x74)
[&lt;c023fe5c&gt;] (v4l2_release) from [&lt;c00b4a00&gt;] (__fput+0x80/0x224)
[&lt;c00b4a00&gt;] (__fput) from [&lt;c00341e8&gt;] (task_work_run+0xa0/0xd0)
[&lt;c00341e8&gt;] (task_work_run) from [&lt;c001cc28&gt;] (do_exit+0x244/0x918)
[&lt;c001cc28&gt;] (do_exit) from [&lt;c001d344&gt;] (do_group_exit+0x48/0xdc)
[&lt;c001d344&gt;] (do_group_exit) from [&lt;c0029894&gt;] (get_signal_to_deliver+0x2a0/0x5bc)
[&lt;c0029894&gt;] (get_signal_to_deliver) from [&lt;c000b888&gt;] (do_signal+0x78/0x3a0)
[&lt;c000b888&gt;] (do_signal) from [&lt;c000bc54&gt;] (do_work_pending+0xa4/0xb4)
[&lt;c000bc54&gt;] (do_work_pending) from [&lt;c00096dc&gt;] (work_pending+0xc/0x20)
---[ end trace 5faa75e8c2f8a6a2 ]---

Signed-off-by: Lad, Prabhakar &lt;prabhakar.csengg@gmail.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] media: davinci: vpif_capture: fix releasing of active buffers</title>
<updated>2014-04-15T12:50:32Z</updated>
<author>
<name>Lad, Prabhakar</name>
</author>
<published>2014-03-22T11:03:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e6ba3db1049548df10f90234328441b2873a4bd3'/>
<id>urn:sha1:e6ba3db1049548df10f90234328441b2873a4bd3</id>
<content type='text'>
from commit-id: b3379c6201bb3555298cdbf0aa004af260f2a6a4
"vb2: only call start_streaming if sufficient buffers are queued"
the vb2 framework warns on (WARN_ON()) if all the active buffers
are not released when streaming is stopped, initially the vb2 silently
released the buffer internally if the buffer was not released by
the driver.
Also this patch moves the disabling of interrupts from relase() callback
to stop_streaming() callback as which needs to be done ideally.

This patch fixes following issue:

WARNING: CPU: 0 PID: 2049 at drivers/media/v4l2-core/videobuf2-core.c:2011 __vb2_queue_cancel+0x1a0/0x218()
Modules linked in:
CPU: 0 PID: 2049 Comm: vpif_capture Tainted: G        W    3.14.0-rc5-00414-ged97a6f #89
[&lt;c000e3f0&gt;] (unwind_backtrace) from [&lt;c000c618&gt;] (show_stack+0x10/0x14)
[&lt;c000c618&gt;] (show_stack) from [&lt;c001adb0&gt;] (warn_slowpath_common+0x68/0x88)
[&lt;c001adb0&gt;] (warn_slowpath_common) from [&lt;c001adec&gt;] (warn_slowpath_null+0x1c/0x24)
[&lt;c001adec&gt;] (warn_slowpath_null) from [&lt;c0252e0c&gt;] (__vb2_queue_cancel+0x1a0/0x218)
[&lt;c0252e0c&gt;] (__vb2_queue_cancel) from [&lt;c02533a4&gt;] (vb2_queue_release+0x14/0x24)
[&lt;c02533a4&gt;] (vb2_queue_release) from [&lt;c025a65c&gt;] (vpif_release+0x60/0x230)
[&lt;c025a65c&gt;] (vpif_release) from [&lt;c023fe5c&gt;] (v4l2_release+0x34/0x74)
[&lt;c023fe5c&gt;] (v4l2_release) from [&lt;c00b4a00&gt;] (__fput+0x80/0x224)
[&lt;c00b4a00&gt;] (__fput) from [&lt;c00341e8&gt;] (task_work_run+0xa0/0xd0)
[&lt;c00341e8&gt;] (task_work_run) from [&lt;c001cc28&gt;] (do_exit+0x244/0x918)
[&lt;c001cc28&gt;] (do_exit) from [&lt;c001d344&gt;] (do_group_exit+0x48/0xdc)
[&lt;c001d344&gt;] (do_group_exit) from [&lt;c0029894&gt;] (get_signal_to_deliver+0x2a0/0x5bc)
[&lt;c0029894&gt;] (get_signal_to_deliver) from [&lt;c000b888&gt;] (do_signal+0x78/0x3a0)
[&lt;c000b888&gt;] (do_signal) from [&lt;c000bc54&gt;] (do_work_pending+0xa4/0xb4)
[&lt;c000bc54&gt;] (do_work_pending) from [&lt;c00096dc&gt;] (work_pending+0xc/0x20)
---[ end trace 5faa75e8c2f8a6a1 ]---
------------[ cut here ]------------
WARNING: CPU: 0 PID: 2049 at drivers/media/v4l2-core/videobuf2-core.c:1095 vb2_buffer_done+0x1e0/0x224()
Modules linked in:
CPU: 0 PID: 2049 Comm: vpif_capture Tainted: G        W    3.14.0-rc5-00414-ged97a6f #89
[&lt;c000e3f0&gt;] (unwind_backtrace) from [&lt;c000c618&gt;] (show_stack+0x10/0x14)
[&lt;c000c618&gt;] (show_stack) from [&lt;c001adb0&gt;] (warn_slowpath_common+0x68/0x88)
[&lt;c001adb0&gt;] (warn_slowpath_common) from [&lt;c001adec&gt;] (warn_slowpath_null+0x1c/0x24)
[&lt;c001adec&gt;] (warn_slowpath_null) from [&lt;c0252c28&gt;] (vb2_buffer_done+0x1e0/0x224)
[&lt;c0252c28&gt;] (vb2_buffer_done) from [&lt;c0252e3c&gt;] (__vb2_queue_cancel+0x1d0/0x218)
[&lt;c0252e3c&gt;] (__vb2_queue_cancel) from [&lt;c02533a4&gt;] (vb2_queue_release+0x14/0x24)
[&lt;c02533a4&gt;] (vb2_queue_release) from [&lt;c025a65c&gt;] (vpif_release+0x60/0x230)
[&lt;c025a65c&gt;] (vpif_release) from [&lt;c023fe5c&gt;] (v4l2_release+0x34/0x74)
[&lt;c023fe5c&gt;] (v4l2_release) from [&lt;c00b4a00&gt;] (__fput+0x80/0x224)
[&lt;c00b4a00&gt;] (__fput) from [&lt;c00341e8&gt;] (task_work_run+0xa0/0xd0)
[&lt;c00341e8&gt;] (task_work_run) from [&lt;c001cc28&gt;] (do_exit+0x244/0x918)
[&lt;c001cc28&gt;] (do_exit) from [&lt;c001d344&gt;] (do_group_exit+0x48/0xdc)
[&lt;c001d344&gt;] (do_group_exit) from [&lt;c0029894&gt;] (get_signal_to_deliver+0x2a0/0x5bc)
[&lt;c0029894&gt;] (get_signal_to_deliver) from [&lt;c000b888&gt;] (do_signal+0x78/0x3a0)
[&lt;c000b888&gt;] (do_signal) from [&lt;c000bc54&gt;] (do_work_pending+0xa4/0xb4)
[&lt;c000bc54&gt;] (do_work_pending) from [&lt;c00096dc&gt;] (work_pending+0xc/0x20)
---[ end trace 5faa75e8c2f8a6a2 ]---

Signed-off-by: Lad, Prabhakar &lt;prabhakar.csengg@gmail.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] s5p-fimc: Fix YUV422P depth</title>
<updated>2014-04-15T12:50:06Z</updated>
<author>
<name>Nicolas Dufresne</name>
</author>
<published>2014-03-25T20:50:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e3fadbdf1cbac7164aaefae5fb331cba86255c46'/>
<id>urn:sha1:e3fadbdf1cbac7164aaefae5fb331cba86255c46</id>
<content type='text'>
All YUV 422 has 16bit per pixels.

Signed-off-by: Nicolas Dufresne &lt;nicolas.dufresne@collabora.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;m.chehab@samsung.com&gt;
</content>
</entry>
<entry>
<title>[media] v4l: ti-vpe: retain v4l2_buffer flags for captured buffers</title>
<updated>2014-04-07T12:44:25Z</updated>
<author>
<name>Archit Taneja</name>
</author>
<published>2014-03-11T07:47:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=bbe24c6759b341ab2504318e50ccd5482f5e6002'/>
<id>urn:sha1:bbe24c6759b341ab2504318e50ccd5482f5e6002</id>
<content type='text'>
The dequed CAPTURE_MPLANE type buffers don't contain the flags that the
originally queued OUTPUT_MPLANE type buffers have. This breaks compliance.

Copy the source v4l2_buffer flags to the destination v4l2_buffer flags before
they are dequed.

Reviewed-by: Hans Verkuil &lt;hans.verkuil@cisco.com&gt;
Signed-off-by: Archit Taneja &lt;archit@ti.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;m.chehab@samsung.com&gt;
</content>
</entry>
</feed>
