1. 05 May, 2020 24 commits
  2. 29 Apr, 2020 8 commits
  3. 23 Apr, 2020 3 commits
    • Mauro Carvalho Chehab's avatar
      media: Kconfig: fix some dvb-usb-v2 dependencies · 4e5552b2
      Mauro Carvalho Chehab authored
      There are some tuners used by a few pure DVB boards that use
      internally V4L2 function calls. Due to that, such drivers now
      depends on v4l2 core support, and can't be auto-selected
      if !VIDEO_V4L2:
      
      	WARNING: unmet direct dependencies detected for DVB_RTL2832_SDR
      	  Depends on [n]: MEDIA_SUPPORT [=y] && MEDIA_DIGITAL_TV_SUPPORT [=y] && DVB_CORE [=y] && I2C [=y] && I2C_MUX [=y] && VIDEO_V4L2 [=n] && MEDIA_SDR_SUPPORT [=y] && USB [=y]
      	  Selected by [y]:
      	  - DVB_USB_RTL28XXU [=y] && USB [=y] && MEDIA_SUPPORT [=y] && MEDIA_USB_SUPPORT [=y] && I2C [=y] && MEDIA_DIGITAL_TV_SUPPORT [=y] && DVB_USB_V2 [=y] && I2C_MUX [=y] && MEDIA_SUBDRV_AUTOSELECT [=y] && MEDIA_SDR_SUPPORT [=y]
      
      	WARNING: unmet direct dependencies detected for MEDIA_TUNER_E4000
      	  Depends on [n]: (MEDIA_ANALOG_TV_SUPPORT [=y] || MEDIA_DIGITAL_TV_SUPPORT [=y] || MEDIA_RADIO_SUPPORT [=y] || MEDIA_SDR_SUPPORT [=y]) && MEDIA_SUPPORT [=y] && I2C [=y] && VIDEO_V4L2 [=n]
      	  Selected by [y]:
      	  - DVB_USB_RTL28XXU [=y] && USB [=y] && MEDIA_SUPPORT [=y] && MEDIA_USB_SUPPORT [=y] && I2C [=y] && MEDIA_DIGITAL_TV_SUPPORT [=y] && DVB_USB_V2 [=y] && I2C_MUX [=y] && MEDIA_SUBDRV_AUTOSELECT [=y]
      
      	WARNING: unmet direct dependencies detected for MEDIA_TUNER_FC2580
      	  Depends on [n]: (MEDIA_ANALOG_TV_SUPPORT [=y] || MEDIA_DIGITAL_TV_SUPPORT [=y] || MEDIA_RADIO_SUPPORT [=y] || MEDIA_SDR_SUPPORT [=y]) && MEDIA_SUPPORT [=y] && I2C [=y] && VIDEO_V4L2 [=n]
      	  Selected by [y]:
      	  - DVB_USB_RTL28XXU [=y] && USB [=y] && MEDIA_SUPPORT [=y] && MEDIA_USB_SUPPORT [=y] && I2C [=y] && MEDIA_DIGITAL_TV_SUPPORT [=y] && DVB_USB_V2 [=y] && I2C_MUX [=y] && MEDIA_SUBDRV_AUTOSELECT [=y]
      
      Detected via randconfig builds.
      Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
      4e5552b2
    • Mauro Carvalho Chehab's avatar
      media: platform: fix VIA_CAMERA dependencies · 324efc70
      Mauro Carvalho Chehab authored
      As detected by a randconfig:
      
      	WARNING: unmet direct dependencies detected for VIDEO_OV7670
      	  Depends on [n]: MEDIA_SUPPORT [=y] && I2C [=y] && VIDEO_V4L2 [=n]
      	  Selected by [y]:
      	  - VIDEO_VIA_CAMERA [=y] && MEDIA_SUPPORT [=y] && MEDIA_PLATFORM_SUPPORT [=y] && V4L_PLATFORM_DRIVERS [=y] && FB_VIA [=y]
      
      There's a missing dependency on VIDEO_V4L2 for VIA_CAMERA.
      Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
      324efc70
    • Mauro Carvalho Chehab's avatar
      media: tuners: Kconfig: add some missing VIDEO_V4L2 dependencies · 4bdbff4d
      Mauro Carvalho Chehab authored
      There are three tuners that depend on some functions inside
      V4L2 core:
      
      	$ git grep -l -E 'v4l2_[0-9a-zA-Z_]+\(' drivers/media/tuners/
      	drivers/media/tuners/e4000.c
      	drivers/media/tuners/fc2580.c
      	drivers/media/tuners/msi001.c
      
      Make them dependent of VIDEO_V4L2, as otherwise, this would happen:
      
      	on x86_64:
      	CONFIG_VIDEO_V4L2=m
      	CONFIG_MEDIA_TUNER_E4000=y
      
      	ld: drivers/media/tuners/e4000.o: in function `e4000_remove':
      	e4000.c:(.text+0x34): undefined reference to `v4l2_ctrl_handler_free'
      	ld: drivers/media/tuners/e4000.o: in function `e4000_probe':
      	e4000.c:(.text+0x16c1): undefined reference to `v4l2_ctrl_handler_init_class'
      	ld: e4000.c:(.text+0x16eb): undefined reference to `v4l2_ctrl_new_std'
      	ld: e4000.c:(.text+0x1731): undefined reference to `v4l2_ctrl_new_std'
      	ld: e4000.c:(.text+0x1762): undefined reference to `v4l2_ctrl_auto_cluster'
      	ld: e4000.c:(.text+0x178c): undefined reference to `v4l2_ctrl_new_std'
      	ld: e4000.c:(.text+0x17d6): undefined reference to `v4l2_ctrl_new_std'
      	ld: e4000.c:(.text+0x1804): undefined reference to `v4l2_ctrl_auto_cluster'
      	ld: e4000.c:(.text+0x182e): undefined reference to `v4l2_ctrl_new_std'
      	ld: e4000.c:(.text+0x1878): undefined reference to `v4l2_ctrl_new_std'
      	ld: e4000.c:(.text+0x18a6): undefined reference to `v4l2_ctrl_auto_cluster'
      	ld: e4000.c:(.text+0x18d0): undefined reference to `v4l2_ctrl_new_std'
      	ld: e4000.c:(.text+0x191a): undefined reference to `v4l2_ctrl_new_std'
      	ld: e4000.c:(.text+0x1948): undefined reference to `v4l2_ctrl_auto_cluster'
      	ld: e4000.c:(.text+0x1972): undefined reference to `v4l2_ctrl_new_std'
      	ld: e4000.c:(.text+0x19a6): undefined reference to `v4l2_ctrl_handler_free'
      	ld: e4000.c:(.text+0x1a2a): undefined reference to `v4l2_i2c_subdev_init'
      Reported-by: default avatarRandy Dunlap <rdunlap@infradead.org>
      Acked-by: default avatarRandy Dunlap <rdunlap@infradead.org>
      Tested-by: default avatarRandy Dunlap <rdunlap@infradead.org>
      Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
      4bdbff4d
  4. 22 Apr, 2020 5 commits