1. 23 2月, 2016 1 次提交
    • M
      [media] media-device: move PCI/USB helper functions from v4l2-mc · 41b44e35
      Mauro Carvalho Chehab 提交于
      Those ancillary functions could be called even when compiled
      without V4L2 support, as warned by ktest build robot:
      
      All errors (new ones prefixed by >>):
      
      >> ERROR: "__v4l2_mc_usb_media_device_init" [drivers/media/usb/dvb-usb/dvb-usb.ko] undefined!
      >> ERROR: "__v4l2_mc_usb_media_device_init" [drivers/media/usb/dvb-usb-v2/dvb_usb_v2.ko] undefined!
      >> ERROR: "__v4l2_mc_usb_media_device_init" [drivers/media/usb/au0828/au0828.ko] undefined!
      
      Also, there's nothing there that are specific to V4L2. So, move
      those ancillary functions to MC core.
      
      No functional changes. Just function rename.
      Signed-off-by: NMauro Carvalho Chehab <mchehab@osg.samsung.com>
      41b44e35
  2. 16 2月, 2016 3 次提交
  3. 10 2月, 2016 2 次提交
    • M
      [media] au0828: move V4L2-specific code to au0828-core.c · 7b606ffd
      Mauro Carvalho Chehab 提交于
      Instead of having lots of #ifdefs inside au0828-core due to
      V4L2, move the dependencies to au0828-video.c. That allows
      removing all those ifdefs, as au0828-video is only compiled if
      CONFIG_VIDEO_AU0828_V4L2.
      
      This fixes the following warnings reported by Kbuild test
      with a random config with au0828 enabled, but V4L2 is disabled.
      
      All warnings (new ones prefixed by >>):
      
         drivers/media/usb/au0828/au0828-core.c: In function 'au0828_usb_probe':
      >> drivers/media/usb/au0828/au0828-core.c:463:1: warning: label 'done' defined but not used [-Wunused-label]
          done:
          ^
         drivers/media/usb/au0828/au0828-core.c: At top level:
         drivers/media/usb/au0828/au0828-core.c:250:12: warning: 'au0828_create_media_graph' defined but not used [-Wunused-function]
          static int au0828_create_media_graph(struct au0828_dev *dev)
                     ^
      
      Tested with a WinTV HVR 950Q (USB ID: 2040:7200)
      Signed-off-by: NMauro Carvalho Chehab <mchehab@osg.samsung.com>
      7b606ffd
    • M
      [media] au0828: only create V4L2 graph if V4L2 is registered · 82e92f4c
      Mauro Carvalho Chehab 提交于
      It doesn't make sense to try to create the analog TV graph,
      if the device fails to register at V4L2, or if it doesn't have
      V4L2 support.
      
      Thanks to Shuah for pointing this issue.
      Reported-by: NShuah Khan <shuahkh@osg.samsung.com>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@osg.samsung.com>
      82e92f4c
  4. 01 2月, 2016 2 次提交
  5. 11 1月, 2016 18 次提交
  6. 18 12月, 2015 2 次提交
  7. 21 10月, 2015 1 次提交
  8. 01 10月, 2015 1 次提交
  9. 10 6月, 2015 1 次提交
  10. 03 4月, 2015 1 次提交
  11. 03 3月, 2015 3 次提交
  12. 02 2月, 2015 3 次提交
  13. 27 1月, 2015 1 次提交
  14. 23 12月, 2014 1 次提交