1. 18 May, 2015 3 commits
  2. 08 Apr, 2015 1 commit
    • Arnd Bergmann's avatar
      [media] Add and use IS_REACHABLE macro · 9b174527
      Arnd Bergmann authored
      In the media drivers, the v4l2 core knows about all submodules
      and calls into them from a common function. However this cannot
      work if the modules that get called are loadable and the
      core is built-in. In that case we get
      drivers/built-in.o: In function `set_type':
      drivers/media/v4l2-core/tuner-core.c:301: undefined reference to `tea5767_attach'
      drivers/media/v4l2-core/tuner-core.c:307: undefined reference to `tea5761_attach'
      drivers/media/v4l2-core/tuner-core.c:349: undefined reference to `tda9887_attach'
      drivers/media/v4l2-core/tuner-core.c:405: undefined reference to `xc4000_attach'
      This was working previously, until the IS_ENABLED() macro was used
      to replace the construct like
       #if defined(CONFIG_DVB_CX24110) || (defined(CONFIG_DVB_CX24110_MODULE) && defined(MODULE))
      with the difference that the new code no longer checks whether it is being
      built as a loadable module itself.
      To fix this, this new patch adds an 'IS_REACHABLE' macro, which evaluates
      true in exactly the condition that was used previously. The downside
      of this is that this trades an obvious link error for a more subtle
      runtime failure, but it is clear that the change that introduced the
      link error was unintentional and it seems better to revert it for
      now. Also, a similar change was originally created by Trent Piepho
      and then reverted by teh change to the IS_ENABLED macro.
      Ideally Kconfig would be used to avoid the case of a broken dependency,
      or the code restructured in a way to turn around the dependency, but either
      way would require much larger changes here.
      Fixes: 7b34be71 ("[media] use IS_ENABLED() macro")
      See-also: c5dec9fb ("V4L/DVB (4751): Fix DBV_FE_CUSTOMISE for card drivers compiled into kernel")
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
  3. 23 Mar, 2013 1 commit
  4. 23 Sep, 2012 1 commit
  5. 13 Aug, 2012 1 commit
  6. 09 Apr, 2012 1 commit
  7. 21 Sep, 2011 1 commit
  8. 20 May, 2011 1 commit
  9. 20 Oct, 2010 1 commit
  10. 05 Dec, 2009 1 commit
  11. 20 Jul, 2008 2 commits
  12. 21 Feb, 2007 1 commit
    • Antti Palosaari's avatar
      V4L/DVB (5236): Initial support for Sigmatek DVB-110 DVB-T · 5decdd27
      Antti Palosaari authored
      This patch adds driver for Sigmatek DVB-110 USB DVB-T stick. Stick has based
      on hardware of Qtuantek QT1010 tuner, Zarlink ZL10353 (Intel CE 6353)
      demodulator and Alcor Micro AU6610 DVB-T USB controller. HW is rather similar
      as used in MSI Megasky GL861.
      Currently, the driver works only in USB 2.0. In my understanding USB 1.1 is
      also supported by hw but I cannot test it due to lack of USB 1.1 port. Device
      supports only isochronous mode transfers. There is also eeprom in usb
      controller(at least in address range 0x80 - 0xbf) for storing data, eg.
      firmware. Anyway, firmware loading is not used / required by the device.
      There seems to be at least one unknown I2C device in address 0xa0, probably
      remote control or GPIO. Windows drivers reads registers from 0x00 to 0x07
      from this unknown address.
      Driver is based on gl861 module. Tuner has a lot of problems to lock with
      megasky qt1010 module with this hardware with some broadcasting standards.
      Signed-off-by: default avatarAntti Palosaari <crope@iki.fi>
      Signed-off-by: default avatarMichael Krufky <mkrufky@linuxtv.org>
      Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@infradead.org>