1. 28 7月, 2011 2 次提交
    • S
      [media] bt8xx: use pci_dev->subsystem_{vendor|device} · fa140014
      Sergei Shtylyov 提交于
      The driver reads PCI subsystem IDs from the PCI configuration registers while
      they are already stored by the PCI subsystem in the 'subsystem_{vendor|device}'
      fields of 'struct pci_dev'...
      Signed-off-by: NSergei Shtylyov <sshtylyov@ru.mvista.com>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      fa140014
    • M
      [media] Stop using linux/version.h on most video drivers · 1990d50b
      Mauro Carvalho Chehab 提交于
      All the modified drivers didn't have any version increment since
      Jan, 1 2011. Several of them didn't have any version increment
      for a long time, even having new features and important bug fixes
      happening.
      
      As we're now filling the QUERYCAP version with the current Kernel
      Release, we don't need to maintain a per-driver version control
      anymore. So, let's just use the default.
      
      In order to preserve the Kernel module version history, a
      KERNEL_VERSION() macro were added to all modified drivers, and
      the extraver number were incremented.
      
      I opted to preserve the per-driver version control to a few
      pwc, pvrusb2, s2255, s5p-fimc and sh_vou.
      
      A few drivers are still using the legacy way to handle ioctl's.
      So, we can't do such change on them, otherwise, they'll break.
      Those are: uvc, et61x251 and sn9c102.
      
      The rationale is that the per-driver version control seems to be
      actively maintained on those.
      
      Yet, I think that the better for them would be to just use the
      default version numbering, instead of doing that by themselves.
      
      While here, removed a few uneeded include linux/version.h
      Acked-by: NHans Verkuil <hans.verkuil@cisco.com>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      1990d50b
  2. 08 7月, 2011 1 次提交
  3. 20 5月, 2011 1 次提交
  4. 31 3月, 2011 1 次提交
  5. 22 3月, 2011 2 次提交
  6. 19 1月, 2011 1 次提交
  7. 30 12月, 2010 1 次提交
  8. 29 12月, 2010 12 次提交
  9. 24 12月, 2010 2 次提交
    • T
      media/video: don't use flush_scheduled_work() · 8c71778c
      Tejun Heo 提交于
      This patch converts the remaining users of flush_scheduled_work() in
      media/video.
      
      * bttv-input.c and cx23885-input.c don't use workqueue at all.  No
        need to flush.
      
      * Make omap24xxcam.c and saa7134-empress.c flush the used work
        directly.
      
      * In fd_defio.c, replace cancel_delayed_work() +
        flush_scheduled_work() with cancel_delayed_work_sync().  While at
        it, replace the deprecated cancel_rearming_delayed_work() with
        cancel_delayed_work_sync().
      Signed-off-by: NTejun Heo <tj@kernel.org>
      Cc: Mauro Carvalho Chehab <mchehab@infradead.org>
      8c71778c
    • T
      media/video: explicitly flush request_module work · 707bcf32
      Tejun Heo 提交于
      Video drivers request submodules using a work during probe and calls
      flush_scheduled_work() on exit to make sure the work is complete
      before being unloaded.  This patch makes these drivers flush the work
      directly instead of using flush_scheduled_work().
      
      While at it, relocate request_submodules() call in saa7134_initdev()
      right right before successful return as in other drivers to avoid
      failing after the work is scheduled and returning failure without the
      work still active.
      
      This is in preparation for the deprecation of flush_scheduled_work().
      Signed-off-by: NTejun Heo <tj@kernel.org>
      Cc: Mauro Carvalho Chehab <mchehab@infradead.org>
      707bcf32
  10. 18 12月, 2010 2 次提交
  11. 22 11月, 2010 1 次提交
  12. 18 11月, 2010 1 次提交
  13. 23 10月, 2010 2 次提交
  14. 21 10月, 2010 7 次提交
  15. 13 8月, 2010 1 次提交
    • M
      V4L/DVB: fix Kconfig to depends on VIDEO_IR · 361be7b1
      Mauro Carvalho Chehab 提交于
      warning: (VIDEO_BT848 && MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && VIDEO_DEV && PCI && I2C && VIDEO_V4L2 && INPUT || VIDEO_SAA7134 && MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && VIDEO_V4L2 && VIDEO_DEV && PCI && I2C && INPUT || VIDEO_CX88 && MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && VIDEO_V4L2 && VIDEO_DEV && PCI && I2C && INPUT || VIDEO_IVTV && MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && VIDEO_V4L2 && PCI && I2C && INPUT || VIDEO_CX18 && MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && VIDEO_V4L2 && DVB_CORE && PCI && I2C && EXPERIMENTAL && INPUT || VIDEO_EM28XX && MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && VIDEO_V4L2 && V4L_USB_DRIVERS && USB && VIDEO_DEV && I2C && INPUT || VIDEO_TLG2300 && MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && VIDEO_V4L2 && V4L_USB_DRIVERS && USB && VIDEO_DEV && I2C && INPUT && SND && DVB_CORE || VIDEO_CX231XX && MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && VIDEO_V4L2 && V4L_USB_DRIVERS && USB && VIDEO_DEV && I2C && INPUT || DVB_BUDGET_CI && MEDIA_SUPPORT && DVB_CAPTURE_DRIVERS && DVB_CORE && DVB_BUDGET_CORE && I2C && INPUT || DVB_DM1105 && MEDIA_SUPPORT && DVB_CAPTURE_DRIVERS && DVB_CORE && PCI && I2C && INPUT || VIDEO_GO7007 && STAGING && !STAGING_EXCLUDE_BUILD && VIDEO_DEV && PCI && I2C && INPUT && SND || VIDEO_CX25821 && STAGING && !STAGING_EXCLUDE_BUILD && DVB_CORE && VIDEO_DEV && PCI && I2C && INPUT) selects VIDEO_IR which has unmet direct dependencies (IR_CORE)
      Acked-by: NRandy Dunlap <randy.dunlap@oracle.com>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      361be7b1
  16. 12 8月, 2010 1 次提交
  17. 03 8月, 2010 1 次提交
  18. 19 5月, 2010 1 次提交