1. 12 9月, 2009 1 次提交
  2. 14 8月, 2009 1 次提交
    • H
      V4L/DVB (12429): v4l2-ioctl: fix G_STD and G_PARM default handlers · 9bedc7f7
      Hans Verkuil 提交于
      The v4l core supplies default handlers for G_STD and G_PARM. However, both
      default handlers are buggy.
      
      This patch fixes the following:
      
      1) If no g_std is supplied and current_norm == 0, then this driver does not
         support TV video standards (e.g. a radio or webcam driver). Return
         -EINVAL. This ensures that there is no bogus VIDIOC_G_STD support for
         such drivers.
      
      2) The default VIDIOC_G_PARM handler used current_norm instead of first
         checking if the driver supported g_std and calling that to get the norm.
         It also didn't check if current_norm was 0, since in that case the driver
         does not support TV standards (or no standard was set at all) and the
         default handler should return -EINVAL.
      
      Note that I am very unhappy with these default handlers: I think they
      basically behave like some very strange and unexpected side-effect.
      Signed-off-by: NHans Verkuil <hverkuil@xs4all.nl>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      9bedc7f7
  3. 10 5月, 2009 2 次提交
  4. 07 4月, 2009 1 次提交
  5. 30 3月, 2009 10 次提交
  6. 03 1月, 2009 3 次提交
  7. 30 12月, 2008 6 次提交
  8. 22 10月, 2008 3 次提交
  9. 13 10月, 2008 1 次提交
  10. 04 9月, 2008 2 次提交
  11. 26 7月, 2008 1 次提交
  12. 24 7月, 2008 1 次提交