1. 27 2月, 2010 3 次提交
  2. 17 1月, 2010 1 次提交
  3. 16 12月, 2009 7 次提交
  4. 06 12月, 2009 12 次提交
  5. 28 9月, 2009 1 次提交
  6. 12 9月, 2009 4 次提交
  7. 25 7月, 2009 1 次提交
  8. 23 6月, 2009 1 次提交
  9. 17 6月, 2009 8 次提交
  10. 07 4月, 2009 1 次提交
  11. 30 3月, 2009 1 次提交
    • T
      V4L/DVB (11263): gspca: Stop setting buffer type, and avoid memset in querycap · 5a275786
      Trent Piepho 提交于
      The v4l2-ioctl core checks the buffer type now by only allowing buffer
      types for which the corresponding ->vidioc_try_fmt_xxx() methods are
      defined.
      
      This driver only defines ->vidioc_try_fmt_vid_cap() so only VIDEO_CAPTURE
      buffers are allowed to be used with vidioc_g_parm.  Also,
      ->vidioc_enum_fmt_vid_cap() is only called for VIDEO_CAPTURE buffers.
      There is no need to set the buffer type since it must already be the
      correct value.
      
      The struct which ->vidioc_querycap() is supposed to fill in is already
      zeroed so it's not necessary to call memset on it.
      
      Cc: Jean-Francois Moine <moinejf@free.fr>
      Signed-off-by: NTrent Piepho <xyzzy@speakeasy.org>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      5a275786