1. 23 4月, 2014 1 次提交
  2. 17 4月, 2014 25 次提交
  3. 15 4月, 2014 11 次提交
    • R
      [media] media/usb/gspca: Add support for Scopium astro webcam (0547:7303) · 30ece903
      Robert Butora 提交于
      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: NRobert Butora <robert.butora.fi@gmail.com>
      Signed-off-by: NHans de Goede <hdegoede@redhat.com>
      Signed-off-by: NMauro Carvalho Chehab <m.chehab@samsung.com>
      30ece903
    • J
      [media] Prefer gspca_sonixb over sn9c102 for all devices · 877ed143
      Jean Delvare 提交于
      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: NJean Delvare <jdelvare@suse.de>
      Acked-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      Acked-by: NHans de Goede <hdegoede@redhat.com>
      Signed-off-by: NMauro Carvalho Chehab <m.chehab@samsung.com>
      877ed143
    • L
      [media] media: davinci: vpfe: make sure all the buffers unmapped and released · c1d1e40b
      Lad, Prabhakar 提交于
      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: NJimmy Ho <jimmygge@gmail.com>
      Signed-off-by: NLad, Prabhakar <prabhakar.csengg@gmail.com>
      Signed-off-by: NHans Verkuil <hans.verkuil@cisco.com>
      Signed-off-by: NMauro Carvalho Chehab <m.chehab@samsung.com>
      c1d1e40b
    • L
      [media] staging: media: davinci: vpfe: make sure all the buffers are released · d891ae5e
      Lad, Prabhakar 提交于
      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: NLad, Prabhakar <prabhakar.csengg@gmail.com>
      Signed-off-by: NHans Verkuil <hans.verkuil@cisco.com>
      Signed-off-by: NMauro Carvalho Chehab <m.chehab@samsung.com>
      d891ae5e
    • L
      [media] media: davinci: vpbe_display: fix releasing of active buffers · b699f09d
      Lad, Prabhakar 提交于
      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: NLad, Prabhakar <prabhakar.csengg@gmail.com>
      Signed-off-by: NHans Verkuil <hans.verkuil@cisco.com>
      Signed-off-by: NMauro Carvalho Chehab <m.chehab@samsung.com>
      b699f09d
    • L
      [media] media: davinci: vpif_display: fix releasing of active buffers · 18c7adcf
      Lad, Prabhakar 提交于
      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: NLad, Prabhakar <prabhakar.csengg@gmail.com>
      Signed-off-by: NHans Verkuil <hans.verkuil@cisco.com>
      Signed-off-by: NMauro Carvalho Chehab <m.chehab@samsung.com>
      18c7adcf
    • L
      [media] media: davinci: vpif_capture: fix releasing of active buffers · e6ba3db1
      Lad, Prabhakar 提交于
      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: NLad, Prabhakar <prabhakar.csengg@gmail.com>
      Signed-off-by: NHans Verkuil <hans.verkuil@cisco.com>
      Signed-off-by: NMauro Carvalho Chehab <m.chehab@samsung.com>
      e6ba3db1
    • N
      [media] s5p-fimc: Fix YUV422P depth · e3fadbdf
      Nicolas Dufresne 提交于
      All YUV 422 has 16bit per pixels.
      Signed-off-by: NNicolas Dufresne <nicolas.dufresne@collabora.com>
      Signed-off-by: NMauro Carvalho Chehab <m.chehab@samsung.com>
      e3fadbdf
    • S
      [media] s5c73m3: Add missing rename of v4l2_of_get_next_endpoint() function · 41f484d1
      Sylwester Nawrocki 提交于
      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: NSylwester Nawrocki <s.nawrocki@samsung.com>
      Signed-off-by: NMauro Carvalho Chehab <m.chehab@samsung.com>
      41f484d1
    • A
      [media] rtl28xxu: silence error log about disabled rtl2832_sdr module · beab1b53
      Antti Palosaari 提交于
      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: NAntti Palosaari <crope@iki.fi>
      Signed-off-by: NMauro Carvalho Chehab <m.chehab@samsung.com>
      beab1b53
    • A
      [media] rtl28xxu: do not hard depend on staging SDR module · 1fd10f98
      Antti Palosaari 提交于
      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: NLuis R. Rodriguez <mcgrof@do-not-panic.com>
      Cc: backports@vger.kernel.org
      Signed-off-by: NAntti Palosaari <crope@iki.fi>
      Signed-off-by: NMauro Carvalho Chehab <m.chehab@samsung.com>
      1fd10f98
  4. 13 4月, 2014 2 次提交
    • M
      sym53c8xx_2: Set DID_REQUEUE return code when aborting squeue · fd1232b2
      Mikulas Patocka 提交于
      This patch fixes I/O errors with the sym53c8xx_2 driver when the disk
      returns QUEUE FULL status.
      
      When the controller encounters an error (including QUEUE FULL or BUSY
      status), it aborts all not yet submitted requests in the function
      sym_dequeue_from_squeue.
      
      This function aborts them with DID_SOFT_ERROR.
      
      If the disk has full tag queue, the request that caused the overflow is
      aborted with QUEUE FULL status (and the scsi midlayer properly retries
      it until it is accepted by the disk), but the sym53c8xx_2 driver aborts
      the following requests with DID_SOFT_ERROR --- for them, the midlayer
      does just a few retries and then signals the error up to sd.
      
      The result is that disk returning QUEUE FULL causes request failures.
      
      The error was reproduced on 53c895 with COMPAQ BD03685A24 disk
      (rebranded ST336607LC) with command queue 48 or 64 tags.  The disk has
      64 tags, but under some access patterns it return QUEUE FULL when there
      are less than 64 pending tags.  The SCSI specification allows returning
      QUEUE FULL anytime and it is up to the host to retry.
      Signed-off-by: NMikulas Patocka <mpatocka@redhat.com>
      Cc: Matthew Wilcox <matthew@wil.cx>
      Cc: James Bottomley <JBottomley@Parallels.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      fd1232b2
    • V
      drivers: net: xen-netfront: fix array initialization bug · 810d8ced
      Vincenzo Maffione 提交于
      This patch fixes the initialization of an array used in the TX
      datapath that was mistakenly initialized together with the
      RX datapath arrays. An out of range array access could happen
      when RX and TX rings had different sizes.
      Signed-off-by: NVincenzo Maffione <v.maffione@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      810d8ced
  5. 12 4月, 2014 1 次提交