1. 12 10月, 2008 6 次提交
  2. 05 9月, 2008 1 次提交
    • T
      V4L/DVB (8876): budget: udelay changed to mdelay · db210426
      Thierry MERLE 提交于
      budget.ko fails to build on ARM with:
      
      ERROR: "__bad_udelay" [drivers/media/dvb/ttpci/budget.ko] undefined!
      make[1]: *** [__modpost] Error 1
      
      __bad_udelay is specifically designed on ARM to fail when udelay is
      called in a bad way.  arch/arm/include/asm/delay.h has this to say
      about __bad_udelay:
      
      /*
       * This function intentionally does not exist; if you see references to
       * it, it means that you're calling udelay() with an out of range value.
       *
       * With currently imposed limits, this means that we support a max delay
       * of 2000us. Further limits: HZ<=1000 and bogomips<=3355
       */
      extern void __bad_udelay(void);
      
      Solution is to replace udelay by a mdelay and udelay with value less than 2000
      Acked-by: NOliver Endriss <o.endriss@gmx.de>
      Signed-off-by: NThierry MERLE <thierry.merle@free.fr>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      db210426
  3. 27 7月, 2008 1 次提交
  4. 20 7月, 2008 11 次提交
  5. 27 6月, 2008 3 次提交
  6. 05 6月, 2008 2 次提交
  7. 14 5月, 2008 1 次提交
    • M
      V4L/DVB (7851): Fix FW_LOADER depencency at v4l/dvb · 755a18ba
      Mauro Carvalho Chehab 提交于
      Since:
      1) FW_LOADER is defined as:
      
      config FW_LOADER
              tristate "Userspace firmware loading support"
              depends on HOTPLUG
      
      2) several V4L/DVB driver just selects it;
      
      3) select is not smart enough to auto-select HOTPLUG, if select FW_LOADER.
      
      So, All drivers that select FW_LOADER should also depend on HOTPLUG.
      
      An easier solution (for the end-user perspective) would be to "select HOTPLUG".
      However, live is not simple. This would cause recursive dependency issues like
      this one:
      
      drivers/usb/Kconfig:62:error: found recursive dependency: USB -> USB_OHCI_HCD
      -> I2C -> MEDIA_TUNER -> MEDIA_TUNER_XC2028 -> HOTPLUG -> PCCARD -> PCMCIA ->
      USB_ARCH_HAS_HCD -> MOUSE_APPLETOUCH -> USB
      Signed-off-by: NMauro Carvalho Chehab <mchehab@infradead.org>
      755a18ba
  8. 25 4月, 2008 10 次提交
  9. 18 2月, 2008 4 次提交
  10. 26 1月, 2008 1 次提交
    • T
      V4L/DVB (6508): ttpci: Rework Kconfig menus and Makefile · 8ae1fe2a
      Trent Piepho 提交于
      The ttpci Kconfig file has bugs that cause it to fail in certain Kconfig
      situations.  The basic problem is that it selects certain drivers, but does
      not depend on the dependencies of those drivers.
      
      See http://article.gmane.org/gmane.comp.video.video4linux/35072
      
      Using the Kconfig file also has some annoyances.  For instance one can't turn
      off AV7110 support unless you go down several options and first turn off
      budget-patch support.  Normally user selectable drivers are not forced on like
      this.
      
      The "AV7110 cards with Budget Patch" option is disabled if "Budget cards"
      isn't on.  Normally a driver appears nested under a driver it depends on, but
      since drivers that don't depend on "Budget cards" are between the two options,
      the config programs can't display the tree correctly.
      
      The Makefile has an issue too.  Some modules, ttpci-eeprom and budget-core,
      appear in the Makefile under several different config symbols.  If more than
      one of these symbols is on, they will get added the to list of objects
      multiple times.  The normal convention is to have a config symbol just the
      common object(s) and have the users of the that object either depend on or
      select that config symbol.
      
      This patch fixes all these issues.  ttpci-eepom is under a new config symbol,
      and so is the budget-core module.  The four different budget card types appear
      as sub-drivers under a main "SAA7146 DVB cards" option.  Turning on
      budget-patch doesn't force AV7110.  Drivers using SAA7146_VV have the
      necessary VIDEO_DEV dependency, so that it isn't possible to select SAA7146_VV
      without V4L being on.
      Signed-off-by: NTrent Piepho <xyzzy@speakeasy.org>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@infradead.org>
      8ae1fe2a