1. 26 9月, 2012 1 次提交
  2. 16 8月, 2012 1 次提交
  3. 07 7月, 2012 1 次提交
  4. 15 5月, 2012 1 次提交
    • H
      [media] ivtv/cx18: fix compiler warnings · 932205a7
      Hans Verkuil 提交于
      media_build/v4l/cx18-alsa-main.c: In function 'cx18_alsa_exit':
      media_build/v4l/cx18-alsa-main.c:282:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
      media_build/v4l/cx18-mailbox.c: In function 'cx18_api_call':
      media_build/v4l/cx18-mailbox.c:598:6: warning: variable 'state' set but not used [-Wunused-but-set-variable]
      media_build/v4l/cx18-alsa-pcm.c: In function 'snd_cx18_pcm_capture_open':
      media_build/v4l/cx18-alsa-pcm.c:156:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
      media_build/v4l/cx18-alsa-pcm.c: In function 'snd_cx18_pcm_capture_close':
      media_build/v4l/cx18-alsa-pcm.c:202:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
      media_build/v4l/cx18-alsa-pcm.c: In function 'snd_cx18_pcm_hw_params':
      media_build/v4l/cx18-alsa-pcm.c:255:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
      media_build/v4l/cx18-streams.c: In function 'cx18_stop_v4l2_encode_stream':
      media_build/v4l/cx18-streams.c:983:16: warning: variable 'then' set but not used [-Wunused-but-set-variable]
      media_build/v4l/ivtv-ioctl.c: In function 'ivtv_set_speed':
      media_build/v4l/ivtv-ioctl.c:138:22: warning: variable 's' set but not used [-Wunused-but-set-variable]
      media_build/v4l/ivtvfb.c: In function 'ivtvfb_init':
      media_build/v4l/ivtvfb.c:1286:6: warning: variable 'err' set but not used [-Wunused-but-set-variable]
      media_build/v4l/ivtvfb.c: In function 'ivtvfb_cleanup':
      media_build/v4l/ivtvfb.c:1306:6: warning: variable 'err' set but not used [-Wunused-but-set-variable]
      Signed-off-by: NHans Verkuil <hans.verkuil@cisco.com>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      932205a7
  5. 18 9月, 2011 1 次提交
    • S
      [media] cx18: Fix videobuf capture · 09fc9802
      Simon Farnsworth 提交于
      When we moved to 3.0, we found that the cx18 driver was oopsing on close with:
      
      NULL pointer deref at:
      
      [ 2290.461009] Call Trace:
      [ 2290.461009]  [<c046007b>] ? pm_qos_add_request+0xc/0x6e
      [ 2290.461009]  [<c082631c>] __mutex_lock_common+0x87/0x125
      [ 2290.461009]  [<f8970e92>] ? cx18_queue_flush+0x31/0x87 [cx18]
      [ 2290.461009]  [<c0436b85>] ? __might_sleep+0x29/0xe4
      [ 2290.461009]  [<c0826515>] __mutex_lock_slowpath+0x25/0x27
      [ 2290.461009]  [<c08264b2>] ? mutex_lock+0x2e/0x3b
      [ 2290.461009]  [<c08264b2>] mutex_lock+0x2e/0x3b
      [ 2290.461009]  [<f88d3137>] videobuf_queue_lock+0x13/0x15 [videobuf_core]
      [ 2290.461009]  [<f88d3f86>] __videobuf_free+0xfc/0x112 [videobuf_core]
      [ 2290.461009]  [<f89741e6>] cx18_v4l2_close+0x158/0x172 [cx18]
      [ 2290.461009]  [<c0507522>] ? cpumask_next+0x1a/0x1d
      [ 2290.461009]  [<f88a319d>] v4l2_release+0x35/0x52 [videodev]
      [ 2290.461009]  [<c04f5717>] fput+0x100/0x1a5
      [ 2290.461009]  [<c04f2e09>] filp_close+0x5c/0x64
      [ 2290.461009]  [<c04f2e70>] sys_close+0x5f/0x93
      [ 2290.461009]  [<c082cd5f>] sysenter_do_call+0x12/0x28
      
      Some digging showed that a merge at some previous point partially
      added broken mmap() support, causing this trace. Remove the broken
      code completely.
      
      On top of that, the calculation in place for "buffer full" depended on
      UYUV instead of HM12, while our GStreamer code was picking HM12 in
      some circumstances.
      
      Finally, the V4L2_CAP_STREAMING capability was never exposed. Patch it
      into the YUV encoder node only.
      Signed-off-by: NSimon Farnsworth <simon.farnsworth@onelan.co.uk>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      09fc9802
  6. 21 5月, 2011 1 次提交
  7. 20 5月, 2011 2 次提交
  8. 13 4月, 2011 1 次提交
  9. 23 3月, 2011 1 次提交
  10. 22 3月, 2011 1 次提交
  11. 29 12月, 2010 1 次提交
  12. 02 12月, 2010 1 次提交
  13. 01 6月, 2010 1 次提交
  14. 19 5月, 2010 1 次提交
  15. 27 2月, 2010 7 次提交
  16. 16 12月, 2009 1 次提交
  17. 06 12月, 2009 4 次提交
  18. 19 9月, 2009 2 次提交
  19. 17 6月, 2009 5 次提交
  20. 30 3月, 2009 6 次提交