1. 03 9月, 2013 6 次提交
    • A
      [media] v4l2: added missing mutex.h include to v4l2-ctrls.h · a19dec6e
      Andrzej Hajda 提交于
      This patch fixes following error:
      include/media/v4l2-ctrls.h:193:15: error: field ‘_lock’ has incomplete type
      include/media/v4l2-ctrls.h: In function ‘v4l2_ctrl_lock’:
      include/media/v4l2-ctrls.h:570:2: error: implicit declaration of
      	function ‘mutex_lock’ [-Werror=implicit-function-declaration]
      include/media/v4l2-ctrls.h: In function ‘v4l2_ctrl_unlock’:
      include/media/v4l2-ctrls.h:579:2: error: implicit declaration of
      	function ‘mutex_unlock’ [-Werror=implicit-function-declaration]
      Signed-off-by: NAndrzej Hajda <a.hajda@samsung.com>
      Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com>
      Signed-off-by: NHans Verkuil <hans.verkuil@cisco.com>
      Signed-off-by: NMauro Carvalho Chehab <m.chehab@samsung.com>
      Cc: stable@vger.kernel.org
      a19dec6e
    • A
      [media] DocBook: upgrade media_api DocBook version to 4.2 · 8bfd4a68
      Andrzej Hajda 提交于
      Fixes the last three errors of media_api DocBook validatation:
      (...)
      media_api.xml:414: element imagedata: validity error : Value "SVG" for attribute format of imagedata is not among the enumerated set
      media_api.xml:432: element imagedata: validity error : Value "SVG" for attribute format of imagedata is not among the enumerated set
      media_api.xml:452: element imagedata: validity error : Value "SVG" for attribute format of imagedata is not among the enumerated set
      (...)
      Signed-off-by: NAndrzej Hajda <a.hajda@samsung.com>
      Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com>
      Signed-off-by: NHans Verkuil <hans.verkuil@cisco.com>
      Signed-off-by: NMauro Carvalho Chehab <m.chehab@samsung.com>
      Cc: stable@vger.kernel.org
      8bfd4a68
    • H
      [media] ml86v7667: fix compile warning: 'ret' set but not used · 037f4e6b
      Hans Verkuil 提交于
      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: NHans Verkuil <hans.verkuil@cisco.com>
      Signed-off-by: NMauro Carvalho Chehab <m.chehab@samsung.com>
      037f4e6b
    • S
      [media] s5p-g2d: Fix registration failure · 8a09a4cc
      Sachin Kamat 提交于
      Commit 1c1d86a1 ("[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
      [<c0014b7c>] (unwind_backtrace+0x0/0xf4) from [<c0011524>] (show_stack+0x10/0x14)
      [<c0011524>] (show_stack+0x10/0x14) from [<c041d7a8>] (dump_stack+0x7c/0xb0)
      [<c041d7a8>] (dump_stack+0x7c/0xb0) from [<c001dc94>] (warn_slowpath_common+0x6c/0x88)
      [<c001dc94>] (warn_slowpath_common+0x6c/0x88) from [<c001dd4c>] (warn_slowpath_null+0x1c/0x24)
      [<c001dd4c>] (warn_slowpath_null+0x1c/0x24) from [<c02cf8d4>] (__video_register_device+0xfc0/0x1028)
      [<c02cf8d4>] (__video_register_device+0xfc0/0x1028) from [<c0311a94>] (g2d_probe+0x1f8/0x398)
      [<c0311a94>] (g2d_probe+0x1f8/0x398) from [<c0247d54>] (platform_drv_probe+0x14/0x18)
      [<c0247d54>] (platform_drv_probe+0x14/0x18) from [<c0246b10>] (driver_probe_device+0x108/0x220)
      [<c0246b10>] (driver_probe_device+0x108/0x220) from [<c0246cf8>] (__driver_attach+0x8c/0x90)
      [<c0246cf8>] (__driver_attach+0x8c/0x90) from [<c0245050>] (bus_for_each_dev+0x60/0x94)
      [<c0245050>] (bus_for_each_dev+0x60/0x94) from [<c02462c8>] (bus_add_driver+0x1c0/0x24c)
      [<c02462c8>] (bus_add_driver+0x1c0/0x24c) from [<c02472d0>] (driver_register+0x78/0x140)
      [<c02472d0>] (driver_register+0x78/0x140) from [<c00087c8>] (do_one_initcall+0xf8/0x144)
      [<c00087c8>] (do_one_initcall+0xf8/0x144) from [<c05b29e8>] (kernel_init_freeable+0x13c/0x1d8)
      [<c05b29e8>] (kernel_init_freeable+0x13c/0x1d8) from [<c041a108>] (kernel_init+0xc/0x160)
      [<c041a108>] (kernel_init+0xc/0x160) from [<c000e2f8>] (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: NSachin Kamat <sachin.kamat@linaro.org>
      Cc: Hans Verkuil <hans.verkuil@cisco.com>
      Signed-off-by: NKamil Debski <k.debski@samsung.com>
      Signed-off-by: NMauro Carvalho Chehab <m.chehab@samsung.com>
      Cc: stable@vger.kernel.org
      8a09a4cc
    • A
      [media] media: coda: Fix DT driver data pointer for i.MX27 · 7b0dd9e6
      Alexander Shiyan 提交于
      The data pointer should point to DT data, and not to the ID
      array.
      Signed-off-by: NAlexander Shiyan <shc_work@mail.ru>
      Signed-off-by: NKamil Debski <k.debski@samsung.com>
      Signed-off-by: NMauro Carvalho Chehab <m.chehab@samsung.com>
      Cc: stable@vger.kernel.org
      7b0dd9e6
    • J
      [media] s5p-mfc: Fix input/output format reporting · 19c2813c
      John Sheu 提交于
      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: NJohn Sheu <sheu@google.com>
      Signed-off-by: NKamil Debski <k.debski@samsung.com>
      Signed-off-by: NMauro Carvalho Chehab <m.chehab@samsung.com>
      Cc: stable@vger.kernel.org
      19c2813c
  2. 28 8月, 2013 3 次提交
  3. 26 8月, 2013 5 次提交
  4. 25 8月, 2013 4 次提交
  5. 24 8月, 2013 22 次提交