1. 21 10月, 2010 2 次提交
    • H
      V4L/DVB: v4l2-dev: after a disconnect any ioctl call will be blocked · d69f2718
      Hans Verkuil 提交于
      Until now all fops except release and (unlocked_)ioctl returned an error
      after the device node was unregistered. Extend this as well to the ioctl
      fops. There is nothing useful that an application can do here and it
      complicates the driver code unnecessarily.
      Signed-off-by: NHans Verkuil <hverkuil@xs4all.nl>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      d69f2718
    • H
      V4L/DVB: videotext: remove this obsolete API · 226c0eea
      Hans Verkuil 提交于
      Remove the vtx (aka videotext aka teletext) API from the v4l2 core.
      This API was scheduled for removal in kernel 2.6.35.
      
      The vtx device nodes have been superseded by vbi device nodes
      for many years. No applications exist that use the vtx support.
      Of the two i2c drivers that actually support this API the saa5249
      has been impossible to use for a year now and no known hardware
      that supports this device exists. The saa5246a is theoretically
      supported by the old mxb boards, but it never actually worked.
      
      In summary: there is no hardware that can use this API and there
      are no applications actually implementing this API.
      
      The vtx support still reserves minors 192-223 and we would really
      like to reuse those for upcoming new functionality. In the unlikely
      event that new hardware appears that wants to use the functionality
      provided by the vtx API, then that functionality should be build
      around the sliced VBI API instead.
      Signed-off-by: NHans Verkuil <hverkuil@xs4all.nl>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      226c0eea
  2. 09 8月, 2010 2 次提交
  3. 03 8月, 2010 1 次提交
    • A
      V4L/DVB: v4l2-dev: fix memory leak · 1bb64194
      Anatolij Gustschin 提交于
      Since commit b4028437
      the 'driver_data' field resides in device's struct device_private
      which may be allocated by dev_set_drvdata() if device_private
      struct was not allocated previously.
      
      dev_set_drvdata() is used in video_set_drvdata() to set
      the driver's private data pointer in v4l2 drivers. Setting
      the private data _before_ registering the v4l2 device results
      in a memory leak since __video_register_device() also calls
      video_set_drvdata(), but after zeroing the device structure.
      Thus, the reference to the previously allocated device_private
      struct goes lost and a new device_private will be allocated.
      
      All v4l drivers which call video_set_drvdata() _before_
      calling video_register_device() are affected. The patch fixes
      __video_register_device() to preserve previously allocated
      device_private reference.
      
      Caught by kmemleak.
      Signed-off-by: NAnatolij Gustschin <agust@denx.de>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      1bb64194
  4. 19 5月, 2010 2 次提交
  5. 16 12月, 2009 2 次提交
  6. 19 9月, 2009 4 次提交
  7. 13 7月, 2009 1 次提交
  8. 07 4月, 2009 1 次提交
  9. 30 3月, 2009 5 次提交
  10. 03 1月, 2009 2 次提交
  11. 30 12月, 2008 5 次提交
  12. 12 10月, 2008 10 次提交
  13. 04 9月, 2008 2 次提交
  14. 06 8月, 2008 1 次提交