1. 07 9月, 2011 2 次提交
  2. 28 7月, 2011 11 次提交
  3. 22 6月, 2011 1 次提交
    • H
      [media] pwc: better usb disconnect handling · 9a7b2d1f
      Hans de Goede 提交于
      Unplugging a pwc cam while an app has the /dev/video# node open leads
      to an oops in pwc_video_close when the app closes the node, because
      the disconnect handler has free-ed the pdev struct pwc_video_close
      tries to use. Instead of adding some sort of bandaid for this.
      fix it properly using the v4l2 core's new(ish) behavior of keeping the
      v4l2_dev structure around until both unregister has been called, and
      all file handles referring  to it have been closed:
      
      Embed the v4l2_dev structure in the pdev structure and define a v4l2 dev
      release callback releasing the pdev structure (and thus also the embedded
      v4l2 dev structure.
      Signed-off-by: NHans de Goede <hdegoede@redhat.com>
      Cc: stable@kernel.org
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      9a7b2d1f
  4. 21 5月, 2011 1 次提交
  5. 22 3月, 2011 2 次提交
  6. 29 12月, 2010 4 次提交
  7. 18 11月, 2010 1 次提交
  8. 21 10月, 2010 2 次提交
  9. 16 12月, 2009 3 次提交
  10. 06 12月, 2009 1 次提交
  11. 12 9月, 2009 1 次提交
  12. 13 7月, 2009 1 次提交
  13. 17 6月, 2009 2 次提交
  14. 30 3月, 2009 2 次提交
  15. 29 1月, 2009 1 次提交
  16. 03 1月, 2009 2 次提交
  17. 30 12月, 2008 1 次提交
  18. 22 10月, 2008 1 次提交
    • H
      V4L/DVB (9327): v4l: use video_device.num instead of minor in video%d · c6330fb8
      Hans Verkuil 提交于
      The kernel number of a v4l2 node (e.g. videoX, radioX or vbiX) is now
      independent of the minor number. So instead of using the minor field
      of the video_device struct one has to use the num field: this always
      contains the kernel number of the device node.
      
      I forgot about this when I did the v4l2 core change, so this patch
      converts all drivers that use it in one go. Luckily the change is
      trivial.
      
      Cc: michael@mihu.de
      Cc: mchehab@infradead.org
      Cc: corbet@lwn.net
      Cc: luca.risolia@studio.unibo.it
      Cc: isely@pobox.com
      Cc: pe1rxq@amsat.org
      Cc: royale@zerezo.com
      Cc: mkrufky@linuxtv.org
      Cc: stoth@linuxtv.org
      Signed-off-by: NHans Verkuil <hverkuil@xs4all.nl>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      c6330fb8
  19. 12 10月, 2008 1 次提交