1. 16 Apr, 2014 25 commits
  2. 15 Apr, 2014 11 commits
    • Robert Butora's avatar
      [media] media/usb/gspca: Add support for Scopium astro webcam (0547:7303) · 30ece903
      Robert Butora authored
      This patch does not modify existing drivers. It adds subdriver
      to gspca for DTCS033 (Scopium) webcam for astrophotography.
      The patch adds dtcs033.c and modifies Kconfig and Makefile.
      Signed-off-by: default avatarRobert Butora <robert.butora.fi@gmail.com>
      Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
      Signed-off-by: default avatarMauro Carvalho Chehab <m.chehab@samsung.com>
      30ece903
    • Jean Delvare's avatar
      [media] Prefer gspca_sonixb over sn9c102 for all devices · 877ed143
      Jean Delvare authored
      The sn9c102 driver is deprecated. It was moved to staging in
      anticipation of its removal in a future kernel version. However, USB
      devices 0C45:6024 and 0C45:6025 are still handled by sn9c102 when
      both sn9c102 and gspca_sonixb are enabled.
      
      We must migrate all the users of these devices to the gspca_sonixb
      driver now, so that it gets sufficient testing before the sn9c102
      driver is finally phased out.
      Signed-off-by: default avatarJean Delvare <jdelvare@suse.de>
      Acked-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      Acked-by: default avatarHans de Goede <hdegoede@redhat.com>
      Signed-off-by: default avatarMauro Carvalho Chehab <m.chehab@samsung.com>
      877ed143
    • Lad, Prabhakar's avatar
      [media] media: davinci: vpfe: make sure all the buffers unmapped and released · c1d1e40b
      Lad, Prabhakar authored
      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 > /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:
          [<c00a98dc>] create_object+0x10c/0x28c
          [<c03ba8ec>] kmemleak_alloc+0x3c/0x70
          [<c00a67c0>] __kmalloc+0x11c/0x1d4
          [<c02b6f48>] __videobuf_alloc+0x1c/0x3c
          [<c02b6194>] videobuf_alloc_vb+0x38/0x80
          [<c02b6638>] __videobuf_mmap_setup+0x9c/0x108
          [<c02b6da0>] videobuf_reqbufs.part.10+0x12c/0x1bc
          [<c02b6e9c>] videobuf_reqbufs+0x6c/0x8c
          [<c02be2c4>] vpfe_reqbufs+0xcc/0x130
          [<c02aae90>] v4l_reqbufs+0x50/0x54
          [<c02aab54>] __video_do_ioctl+0x260/0x2c4
          [<c02a9dd4>] video_usercopy+0xf0/0x310
          [<c02aa008>] video_ioctl2+0x14/0x1c
          [<c02a562c>] v4l2_ioctl+0x104/0x14c
          [<c00bd320>] do_vfs_ioctl+0x80/0x2d0
          [<c00bd5b4>] 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:
          [<c00a98dc>] create_object+0x10c/0x28c
          [<c03ba8ec>] kmemleak_alloc+0x3c/0x70
          [<c00a67c0>] __kmalloc+0x11c/0x1d4
          [<c02b6f48>] __videobuf_alloc+0x1c/0x3c
          [<c02b6194>] videobuf_alloc_vb+0x38/0x80
          [<c02b6638>] __videobuf_mmap_setup+0x9c/0x108
          [<c02b6da0>] videobuf_reqbufs.part.10+0x12c/0x1bc
          [<c02b6e9c>] videobuf_reqbufs+0x6c/0x8c
          [<c02be2c4>] vpfe_reqbufs+0xcc/0x130
          [<c02aae90>] v4l_reqbufs+0x50/0x54
          [<c02aab54>] __video_do_ioctl+0x260/0x2c4
          [<c02a9dd4>] video_usercopy+0xf0/0x310
          [<c02aa008>] video_ioctl2+0x14/0x1c
          [<c02a562c>] v4l2_ioctl+0x104/0x14c
          [<c00bd320>] do_vfs_ioctl+0x80/0x2d0
          [<c00bd5b4>] 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:
          [<c00a98dc>] create_object+0x10c/0x28c
          [<c03ba8ec>] kmemleak_alloc+0x3c/0x70
          [<c00a67c0>] __kmalloc+0x11c/0x1d4
          [<c02b6f48>] __videobuf_alloc+0x1c/0x3c
          [<c02b6194>] videobuf_alloc_vb+0x38/0x80
          [<c02b6638>] __videobuf_mmap_setup+0x9c/0x108
          [<c02b6da0>] videobuf_reqbufs.part.10+0x12c/0x1bc
          [<c02b6e9c>] videobuf_reqbufs+0x6c/0x8c
          [<c02be2c4>] vpfe_reqbufs+0xcc/0x130
          [<c02aae90>] v4l_reqbufs+0x50/0x54
          [<c02aab54>] __video_do_ioctl+0x260/0x2c4
          [<c02a9dd4>] video_usercopy+0xf0/0x310
          [<c02aa008>] video_ioctl2+0x14/0x1c
          [<c02a562c>] v4l2_ioctl+0x104/0x14c
          [<c00bd320>] do_vfs_ioctl+0x80/0x2d0
          [<c00bd5b4>] SyS_ioctl+0x44/0x64
      Reported-by: default avatarJimmy Ho <jimmygge@gmail.com>
      Signed-off-by: default avatarLad, Prabhakar <prabhakar.csengg@gmail.com>
      Signed-off-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
      Signed-off-by: default avatarMauro Carvalho Chehab <m.chehab@samsung.com>
      c1d1e40b
    • Lad, Prabhakar's avatar
      [media] staging: media: davinci: vpfe: make sure all the buffers are released · d891ae5e
      Lad, Prabhakar authored
      from commit-id: b3379c62
      "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: vpfe_video Tainted: G        W    3.14.0-rc5-00414-ged97a6fe #89
      [<c000e3f0>] (unwind_backtrace) from [<c000c618>] (show_stack+0x10/0x14)
      [<c000c618>] (show_stack) from [<c001adb0>] (warn_slowpath_common+0x68/0x88)
      [<c001adb0>] (warn_slowpath_common) from [<c001adec>] (warn_slowpath_null+0x1c/0x24)
      [<c001adec>] (warn_slowpath_null) from [<c0252e0c>] (__vb2_queue_cancel+0x1a0/0x218)
      [<c0252e0c>] (__vb2_queue_cancel) from [<c02533a4>] (vb2_queue_release+0x14/0x24)
      [<c02533a4>] (vb2_queue_release) from [<c025a65c>] (vpfe_release+0x60/0x230)
      [<c025a65c>] (vpfe_release) from [<c023fe5c>] (v4l2_release+0x34/0x74)
      [<c023fe5c>] (v4l2_release) from [<c00b4a00>] (__fput+0x80/0x224)
      [<c00b4a00>] (__fput) from [<c00341e8>] (task_work_run+0xa0/0xd0)
      [<c00341e8>] (task_work_run) from [<c001cc28>] (do_exit+0x244/0x918)
      [<c001cc28>] (do_exit) from [<c001d344>] (do_group_exit+0x48/0xdc)
      [<c001d344>] (do_group_exit) from [<c0029894>] (get_signal_to_deliver+0x2a0/0x5bc)
      [<c0029894>] (get_signal_to_deliver) from [<c000b888>] (do_signal+0x78/0x3a0)
      [<c000b888>] (do_signal) from [<c000bc54>] (do_work_pending+0xa4/0xb4)
      [<c000bc54>] (do_work_pending) from [<c00096dc>] (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: vpfe_video Tainted: G        W    3.14.0-rc5-00414-ged97a6fe #89
      [<c000e3f0>] (unwind_backtrace) from [<c000c618>] (show_stack+0x10/0x14)
      [<c000c618>] (show_stack) from [<c001adb0>] (warn_slowpath_common+0x68/0x88)
      [<c001adb0>] (warn_slowpath_common) from [<c001adec>] (warn_slowpath_null+0x1c/0x24)
      [<c001adec>] (warn_slowpath_null) from [<c0252c28>] (vb2_buffer_done+0x1e0/0x224)
      [<c0252c28>] (vb2_buffer_done) from [<c0252e3c>] (__vb2_queue_cancel+0x1d0/0x218)
      [<c0252e3c>] (__vb2_queue_cancel) from [<c02533a4>] (vb2_queue_release+0x14/0x24)
      [<c02533a4>] (vb2_queue_release) from [<c025a65c>] (vpfe_release+0x60/0x230)
      [<c025a65c>] (vpfe_release) from [<c023fe5c>] (v4l2_release+0x34/0x74)
      [<c023fe5c>] (v4l2_release) from [<c00b4a00>] (__fput+0x80/0x224)
      [<c00b4a00>] (__fput) from [<c00341e8>] (task_work_run+0xa0/0xd0)
      [<c00341e8>] (task_work_run) from [<c001cc28>] (do_exit+0x244/0x918)
      [<c001cc28>] (do_exit) from [<c001d344>] (do_group_exit+0x48/0xdc)
      [<c001d344>] (do_group_exit) from [<c0029894>] (get_signal_to_deliver+0x2a0/0x5bc)
      [<c0029894>] (get_signal_to_deliver) from [<c000b888>] (do_signal+0x78/0x3a0)
      [<c000b888>] (do_signal) from [<c000bc54>] (do_work_pending+0xa4/0xb4)
      [<c000bc54>] (do_work_pending) from [<c00096dc>] (work_pending+0xc/0x20)
      ---[ end trace 5faa75e8c2f8a6a2 ]---
      Signed-off-by: default avatarLad, Prabhakar <prabhakar.csengg@gmail.com>
      Signed-off-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
      Signed-off-by: default avatarMauro Carvalho Chehab <m.chehab@samsung.com>
      d891ae5e
    • Lad, Prabhakar's avatar
      [media] media: davinci: vpbe_display: fix releasing of active buffers · b699f09d
      Lad, Prabhakar authored
      from commit-id: b3379c62
      "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-ged97a6fe #89
      [<c000e3f0>] (unwind_backtrace) from [<c000c618>] (show_stack+0x10/0x14)
      [<c000c618>] (show_stack) from [<c001adb0>] (warn_slowpath_common+0x68/0x88)
      [<c001adb0>] (warn_slowpath_common) from [<c001adec>] (warn_slowpath_null+0x1c/0x24)
      [<c001adec>] (warn_slowpath_null) from [<c0252e0c>] (__vb2_queue_cancel+0x1a0/0x218)
      [<c0252e0c>] (__vb2_queue_cancel) from [<c02533a4>] (vb2_queue_release+0x14/0x24)
      [<c02533a4>] (vb2_queue_release) from [<c025a65c>] (vpbe_display_release+0x60/0x230)
      [<c025a65c>] (vpbe_display_release) from [<c023fe5c>] (v4l2_release+0x34/0x74)
      [<c023fe5c>] (v4l2_release) from [<c00b4a00>] (__fput+0x80/0x224)
      [<c00b4a00>] (__fput) from [<c00341e8>] (task_work_run+0xa0/0xd0)
      [<c00341e8>] (task_work_run) from [<c001cc28>] (do_exit+0x244/0x918)
      [<c001cc28>] (do_exit) from [<c001d344>] (do_group_exit+0x48/0xdc)
      [<c001d344>] (do_group_exit) from [<c0029894>] (get_signal_to_deliver+0x2a0/0x5bc)
      [<c0029894>] (get_signal_to_deliver) from [<c000b888>] (do_signal+0x78/0x3a0)
      [<c000b888>] (do_signal) from [<c000bc54>] (do_work_pending+0xa4/0xb4)
      [<c000bc54>] (do_work_pending) from [<c00096dc>] (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-ged97a6fe #89
      [<c000e3f0>] (unwind_backtrace) from [<c000c618>] (show_stack+0x10/0x14)
      [<c000c618>] (show_stack) from [<c001adb0>] (warn_slowpath_common+0x68/0x88)
      [<c001adb0>] (warn_slowpath_common) from [<c001adec>] (warn_slowpath_null+0x1c/0x24)
      [<c001adec>] (warn_slowpath_null) from [<c0252c28>] (vb2_buffer_done+0x1e0/0x224)
      [<c0252c28>] (vb2_buffer_done) from [<c0252e3c>] (__vb2_queue_cancel+0x1d0/0x218)
      [<c0252e3c>] (__vb2_queue_cancel) from [<c02533a4>] (vb2_queue_release+0x14/0x24)
      [<c02533a4>] (vb2_queue_release) from [<c025a65c>] (vpbe_display_release+0x60/0x230)
      [<c025a65c>] (vpbe_display_release) from [<c023fe5c>] (v4l2_release+0x34/0x74)
      [<c023fe5c>] (v4l2_release) from [<c00b4a00>] (__fput+0x80/0x224)
      [<c00b4a00>] (__fput) from [<c00341e8>] (task_work_run+0xa0/0xd0)
      [<c00341e8>] (task_work_run) from [<c001cc28>] (do_exit+0x244/0x918)
      [<c001cc28>] (do_exit) from [<c001d344>] (do_group_exit+0x48/0xdc)
      [<c001d344>] (do_group_exit) from [<c0029894>] (get_signal_to_deliver+0x2a0/0x5bc)
      [<c0029894>] (get_signal_to_deliver) from [<c000b888>] (do_signal+0x78/0x3a0)
      [<c000b888>] (do_signal) from [<c000bc54>] (do_work_pending+0xa4/0xb4)
      [<c000bc54>] (do_work_pending) from [<c00096dc>] (work_pending+0xc/0x20)
      ---[ end trace 5faa75e8c2f8a6a2 ]---
      Signed-off-by: default avatarLad, Prabhakar <prabhakar.csengg@gmail.com>
      Signed-off-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
      Signed-off-by: default avatarMauro Carvalho Chehab <m.chehab@samsung.com>
      b699f09d
    • Lad, Prabhakar's avatar
      [media] media: davinci: vpif_display: fix releasing of active buffers · 18c7adcf
      Lad, Prabhakar authored
      from commit-id: b3379c62
      "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-ged97a6fe #89
      [<c000e3f0>] (unwind_backtrace) from [<c000c618>] (show_stack+0x10/0x14)
      [<c000c618>] (show_stack) from [<c001adb0>] (warn_slowpath_common+0x68/0x88)
      [<c001adb0>] (warn_slowpath_common) from [<c001adec>] (warn_slowpath_null+0x1c/0x24)
      [<c001adec>] (warn_slowpath_null) from [<c0252e0c>] (__vb2_queue_cancel+0x1a0/0x218)
      [<c0252e0c>] (__vb2_queue_cancel) from [<c02533a4>] (vb2_queue_release+0x14/0x24)
      [<c02533a4>] (vb2_queue_release) from [<c025a65c>] (vpif_release+0x60/0x230)
      [<c025a65c>] (vpif_release) from [<c023fe5c>] (v4l2_release+0x34/0x74)
      [<c023fe5c>] (v4l2_release) from [<c00b4a00>] (__fput+0x80/0x224)
      [<c00b4a00>] (__fput) from [<c00341e8>] (task_work_run+0xa0/0xd0)
      [<c00341e8>] (task_work_run) from [<c001cc28>] (do_exit+0x244/0x918)
      [<c001cc28>] (do_exit) from [<c001d344>] (do_group_exit+0x48/0xdc)
      [<c001d344>] (do_group_exit) from [<c0029894>] (get_signal_to_deliver+0x2a0/0x5bc)
      [<c0029894>] (get_signal_to_deliver) from [<c000b888>] (do_signal+0x78/0x3a0)
      [<c000b888>] (do_signal) from [<c000bc54>] (do_work_pending+0xa4/0xb4)
      [<c000bc54>] (do_work_pending) from [<c00096dc>] (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-ged97a6fe #89
      [<c000e3f0>] (unwind_backtrace) from [<c000c618>] (show_stack+0x10/0x14)
      [<c000c618>] (show_stack) from [<c001adb0>] (warn_slowpath_common+0x68/0x88)
      [<c001adb0>] (warn_slowpath_common) from [<c001adec>] (warn_slowpath_null+0x1c/0x24)
      [<c001adec>] (warn_slowpath_null) from [<c0252c28>] (vb2_buffer_done+0x1e0/0x224)
      [<c0252c28>] (vb2_buffer_done) from [<c0252e3c>] (__vb2_queue_cancel+0x1d0/0x218)
      [<c0252e3c>] (__vb2_queue_cancel) from [<c02533a4>] (vb2_queue_release+0x14/0x24)
      [<c02533a4>] (vb2_queue_release) from [<c025a65c>] (vpif_release+0x60/0x230)
      [<c025a65c>] (vpif_release) from [<c023fe5c>] (v4l2_release+0x34/0x74)
      [<c023fe5c>] (v4l2_release) from [<c00b4a00>] (__fput+0x80/0x224)
      [<c00b4a00>] (__fput) from [<c00341e8>] (task_work_run+0xa0/0xd0)
      [<c00341e8>] (task_work_run) from [<c001cc28>] (do_exit+0x244/0x918)
      [<c001cc28>] (do_exit) from [<c001d344>] (do_group_exit+0x48/0xdc)
      [<c001d344>] (do_group_exit) from [<c0029894>] (get_signal_to_deliver+0x2a0/0x5bc)
      [<c0029894>] (get_signal_to_deliver) from [<c000b888>] (do_signal+0x78/0x3a0)
      [<c000b888>] (do_signal) from [<c000bc54>] (do_work_pending+0xa4/0xb4)
      [<c000bc54>] (do_work_pending) from [<c00096dc>] (work_pending+0xc/0x20)
      ---[ end trace 5faa75e8c2f8a6a2 ]---
      Signed-off-by: default avatarLad, Prabhakar <prabhakar.csengg@gmail.com>
      Signed-off-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
      Signed-off-by: default avatarMauro Carvalho Chehab <m.chehab@samsung.com>
      18c7adcf
    • Lad, Prabhakar's avatar
      [media] media: davinci: vpif_capture: fix releasing of active buffers · e6ba3db1
      Lad, Prabhakar authored
      from commit-id: b3379c62
      "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-ged97a6fe #89
      [<c000e3f0>] (unwind_backtrace) from [<c000c618>] (show_stack+0x10/0x14)
      [<c000c618>] (show_stack) from [<c001adb0>] (warn_slowpath_common+0x68/0x88)
      [<c001adb0>] (warn_slowpath_common) from [<c001adec>] (warn_slowpath_null+0x1c/0x24)
      [<c001adec>] (warn_slowpath_null) from [<c0252e0c>] (__vb2_queue_cancel+0x1a0/0x218)
      [<c0252e0c>] (__vb2_queue_cancel) from [<c02533a4>] (vb2_queue_release+0x14/0x24)
      [<c02533a4>] (vb2_queue_release) from [<c025a65c>] (vpif_release+0x60/0x230)
      [<c025a65c>] (vpif_release) from [<c023fe5c>] (v4l2_release+0x34/0x74)
      [<c023fe5c>] (v4l2_release) from [<c00b4a00>] (__fput+0x80/0x224)
      [<c00b4a00>] (__fput) from [<c00341e8>] (task_work_run+0xa0/0xd0)
      [<c00341e8>] (task_work_run) from [<c001cc28>] (do_exit+0x244/0x918)
      [<c001cc28>] (do_exit) from [<c001d344>] (do_group_exit+0x48/0xdc)
      [<c001d344>] (do_group_exit) from [<c0029894>] (get_signal_to_deliver+0x2a0/0x5bc)
      [<c0029894>] (get_signal_to_deliver) from [<c000b888>] (do_signal+0x78/0x3a0)
      [<c000b888>] (do_signal) from [<c000bc54>] (do_work_pending+0xa4/0xb4)
      [<c000bc54>] (do_work_pending) from [<c00096dc>] (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-ged97a6fe #89
      [<c000e3f0>] (unwind_backtrace) from [<c000c618>] (show_stack+0x10/0x14)
      [<c000c618>] (show_stack) from [<c001adb0>] (warn_slowpath_common+0x68/0x88)
      [<c001adb0>] (warn_slowpath_common) from [<c001adec>] (warn_slowpath_null+0x1c/0x24)
      [<c001adec>] (warn_slowpath_null) from [<c0252c28>] (vb2_buffer_done+0x1e0/0x224)
      [<c0252c28>] (vb2_buffer_done) from [<c0252e3c>] (__vb2_queue_cancel+0x1d0/0x218)
      [<c0252e3c>] (__vb2_queue_cancel) from [<c02533a4>] (vb2_queue_release+0x14/0x24)
      [<c02533a4>] (vb2_queue_release) from [<c025a65c>] (vpif_release+0x60/0x230)
      [<c025a65c>] (vpif_release) from [<c023fe5c>] (v4l2_release+0x34/0x74)
      [<c023fe5c>] (v4l2_release) from [<c00b4a00>] (__fput+0x80/0x224)
      [<c00b4a00>] (__fput) from [<c00341e8>] (task_work_run+0xa0/0xd0)
      [<c00341e8>] (task_work_run) from [<c001cc28>] (do_exit+0x244/0x918)
      [<c001cc28>] (do_exit) from [<c001d344>] (do_group_exit+0x48/0xdc)
      [<c001d344>] (do_group_exit) from [<c0029894>] (get_signal_to_deliver+0x2a0/0x5bc)
      [<c0029894>] (get_signal_to_deliver) from [<c000b888>] (do_signal+0x78/0x3a0)
      [<c000b888>] (do_signal) from [<c000bc54>] (do_work_pending+0xa4/0xb4)
      [<c000bc54>] (do_work_pending) from [<c00096dc>] (work_pending+0xc/0x20)
      ---[ end trace 5faa75e8c2f8a6a2 ]---
      Signed-off-by: default avatarLad, Prabhakar <prabhakar.csengg@gmail.com>
      Signed-off-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
      Signed-off-by: default avatarMauro Carvalho Chehab <m.chehab@samsung.com>
      e6ba3db1
    • Nicolas Dufresne's avatar
      [media] s5p-fimc: Fix YUV422P depth · e3fadbdf
      Nicolas Dufresne authored
      All YUV 422 has 16bit per pixels.
      Signed-off-by: default avatarNicolas Dufresne <nicolas.dufresne@collabora.com>
      Signed-off-by: default avatarMauro Carvalho Chehab <m.chehab@samsung.com>
      e3fadbdf
    • Sylwester Nawrocki's avatar
      [media] s5c73m3: Add missing rename of v4l2_of_get_next_endpoint() function · 41f484d1
      Sylwester Nawrocki authored
      This fixes following build error:
      
        CC      drivers/media/i2c/s5c73m3/s5c73m3-core.o
        CC      drivers/md/dm-ioctl.o
        CC      net/ipv4/inet_lro.o
      drivers/media/i2c/s5c73m3/s5c73m3-core.c: In function ‘s5c73m3_get_platform_data’:
      drivers/media/i2c/s5c73m3/s5c73m3-core.c:1619:2: error: implicit declaration of function ‘v4l2_of_get_next_endpoint’ [-Werror=implicit-function-declaration]
      drivers/media/i2c/s5c73m3/s5c73m3-core.c:1619:10: warning: assignment makes pointer from integer without a cast [enabled by default]
      Signed-off-by: default avatarSylwester Nawrocki <s.nawrocki@samsung.com>
      Signed-off-by: default avatarMauro Carvalho Chehab <m.chehab@samsung.com>
      41f484d1
    • Antti Palosaari's avatar
      [media] rtl28xxu: silence error log about disabled rtl2832_sdr module · beab1b53
      Antti Palosaari authored
      It printed a little bit too heavy looking error log "DVB: Unable to
      find symbol rtl2832_sdr_attach()" when staging module was disabled.
      Silence that error by introducing own version of dvb_attach() macro
      without the error logging.
      Signed-off-by: default avatarAntti Palosaari <crope@iki.fi>
      Signed-off-by: default avatarMauro Carvalho Chehab <m.chehab@samsung.com>
      beab1b53
    • Antti Palosaari's avatar
      [media] rtl28xxu: do not hard depend on staging SDR module · 1fd10f98
      Antti Palosaari authored
      RTL2832 SDR extension module is currently on staging. SDR module
      headers were included from staging causing direct dependency staging
      directory. As a solution, add needed headers to main driver.
      Motivation of that change comes from Luis / driver backports project.
      Reported-by: default avatarLuis R. Rodriguez <mcgrof@do-not-panic.com>
      Cc: backports@vger.kernel.org
      Signed-off-by: default avatarAntti Palosaari <crope@iki.fi>
      Signed-off-by: default avatarMauro Carvalho Chehab <m.chehab@samsung.com>
      1fd10f98
  3. 14 Apr, 2014 1 commit
    • Mauro Carvalho Chehab's avatar
      Merge tag 'v3.15-rc1' into patchwork · 277a163c
      Mauro Carvalho Chehab authored
      Linux 3.15-rc1
      
      * tag 'v3.15-rc1': (12180 commits)
        Linux 3.15-rc1
        mm: Initialize error in shmem_file_aio_read()
        cifs: Use min_t() when comparing "size_t" and "unsigned long"
        sym53c8xx_2: Set DID_REQUEUE return code when aborting squeue
        powerpc: Don't try to set LPCR unless we're in hypervisor mode
        futex: update documentation for ordering guarantees
        ceph: fix pr_fmt() redefinition
        vti: don't allow to add the same tunnel twice
        gre: don't allow to add the same tunnel twice
        drivers: net: xen-netfront: fix array initialization bug
        missing bits of "splice: fix racy pipe->buffers uses"
        cifs: fix the race in cifs_writev()
        ceph_sync_{,direct_}write: fix an oops on ceph_osdc_new_request() failure
        pktgen: be friendly to LLTX devices
        r8152: check RTL8152_UNPLUG
        net: sun4i-emac: add promiscuous support
        net/apne: replace IS_ERR and PTR_ERR with PTR_ERR_OR_ZERO
        blackfin: cleanup board files
        bf609: clock: drop unused clock bit set/clear functions
        Blackfin: bf537: rename "CONFIG_ADT75"
        ...
      277a163c
  4. 13 Apr, 2014 3 commits