1. 16 8月, 2012 1 次提交
  2. 25 11月, 2011 1 次提交
    • J
      [media] video: Drop undue references to i2c-algo-bit · a824f0f4
      Jean Delvare 提交于
      There's one comment that has been copied from bttv to many other
      media/video drivers:
      
      /* init + register i2c algo-bit adapter */
      
      Meanwhile, many drivers use hardware I2C implementations instead of
      relying on i2c-algo-bit, so this comment is misleading. Remove the
      reference to "algo-bit" from all drivers, to avoid any confusion. This
      is the best way to ensure that the comments won't go out of sync
      again. Anyone interested in the implementation details would rather
      look at the code itself.
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      a824f0f4
  3. 04 9月, 2011 1 次提交
    • J
      [media] bt8xx: Use current logging styles · 8af443e5
      Joe Perches 提交于
      This converts some messages that were emitted at
      KERN_INFO to KERN_DEBUG.  All of these messages
      were guarded by bttv_debug tests.
      
      Add pr_fmt.
      Convert printks to pr_<level>
      Convert printks without KERN_<level> to appropriate pr_<level>.
      Removed embedded prefixes when pr_fmt was added.
      Whitespace cleanups when around other conversions.
      Macros coded with if statements should be do { if... } while (0)
      so the macros can be used in other if tests.
      Use ##__VA_ARGS__ for variadic macro as well.
      Coalesce format strings.
      Signed-off-by: NJoe Perches <joe@perches.com>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      8af443e5
  4. 23 10月, 2010 1 次提交
  5. 21 10月, 2010 1 次提交
  6. 12 8月, 2010 1 次提交
  7. 19 2月, 2010 1 次提交
  8. 16 12月, 2009 2 次提交
  9. 12 9月, 2009 1 次提交
  10. 17 6月, 2009 1 次提交
    • J
      V4L/DVB (11844): ir-kbd-i2c: Switch to the new-style device binding model · c668f32d
      Jean Delvare 提交于
      Let card drivers probe for IR receiver devices and instantiate them if
      found. Ultimately it would be better if we could stop probing
      completely, but I suspect this won't be possible for all card types.
      
      There's certainly room for cleanups. For example, some drivers are
      sharing I2C adapter IDs, so they also had to share the list of I2C
      addresses being probed for an IR receiver. Now that each driver
      explicitly says which addresses should be probed, maybe some addresses
      can be dropped from some drivers.
      
      Also, the special cases in saa7134-i2c should probably be handled on a
      per-board basis. This would be more efficient and less risky than always
      probing extra addresses on all boards. I'll give it a try later.
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      c668f32d
  11. 30 3月, 2009 3 次提交
    • H
      V4L/DVB (11278): bttv: convert to v4l2_subdev since i2c autoprobing will disappear. · 859f0277
      Hans Verkuil 提交于
      Since i2c autoprobing will disappear bttv needs to be converted to use
      v4l2_subdev instead.
      
      Without autoprobing the autoload module option has become obsolete. A warning
      is generated if it is set, but it is otherwise ignored.
      
      Since the bttv card definitions are of questionable value a new option was
      introduced to allow the user to control which audio module is selected:
      msp3400, tda7432 or tvaudio (or none at all).
      
      By default bttv will use the card definitions and fallback on tvaudio as the
      last resort.
      
      If no audio device was found a warning is printed.
      
      The saa6588 RDS device is now also explicitly probed since it is no longer
      possible to autoprobe it. A new saa6588 module option was added to override
      the card definition since I suspect more cards have this device than one
      would guess from the card definitions.
      
      Note that the probe addresses of the i2c modules are hardcoded in this
      driver. Once all v4l drivers are converted to v4l2_subdev this will be
      cleaned up. Such data belongs in an i2c driver header.
      Signed-off-by: NHans Verkuil <hverkuil@xs4all.nl>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      859f0277
    • H
      74fc7bd9
    • T
      V4L/DVB (10560): bttv: make tuner card info more consistent · abb0362f
      Trent Piepho 提交于
      The bttv card database structure had a "tuner" field that was the input
      number of the tuner input or UNSET for no tuner.  However, the only values
      it could ever be are 0 and UNSET.  Having a tuner on an input other than 0
      didn't work and was never used.
      
      There is also a "tuner_type" field that can be set to TUNER_ABSENT to
      indicate no tuner, which makes "tuner = UNSET" redundant.  In many cases,
      tuner_type was set to UNSET when there was no tuner, which isn't quite
      correct.  tuner_type == UNSET is supposed to mean the tuner type isn't yet
      known.
      
      So, I changed cards where "tuner == UNSET" to always have tuner_type of
      TUNER_ABSENT.  At this point the tuner field is redundant, so I deleted it.
      
      I have the card setup code set the card's tuner_type (not the card type's
      tuner_type!) to TUNER_ABSENT if it hasn't yet been set at the end of the
      setup code.  Various places that check if the card has a tuner will now
      look for this instead of checking the card type's "tuner" field.
      
      Also autoload the tuner module before issuing the TUNER_SET_TYPE_ADDR I2C
      client call instead of after issuing it.
      
      Overall, on ia32 this decreases compiled code size by about 24 bytes and
      reduces the data size by 640 bytes.
      Signed-off-by: NTrent Piepho <xyzzy@speakeasy.org>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      abb0362f
  12. 20 7月, 2008 1 次提交
  13. 14 10月, 2007 1 次提交
  14. 10 10月, 2007 1 次提交
  15. 28 4月, 2007 1 次提交
  16. 11 12月, 2006 1 次提交
  17. 27 9月, 2006 1 次提交
  18. 26 9月, 2006 1 次提交
    • M
      V4L/DVB (4609): Improved i2c performance on software bitbang algoritm · 141276b5
      Mauro Carvalho Chehab 提交于
      Software I2C were using a very conservative value of udelay=16, meaning about
      20Kbps. According with Philips I2C datasheet, the i2c should answer well for
      times at the order of 4.7 us. So, using udelay=5 should work for all devices.
      After this patch, the speed should be close to 66,67 Kbps, with the current
      kernel software bitbang, with 30/60 duty cycle.
      Anyway, added a new parameter (i2c_udelay) that would allow using conservative
      values, if eventually a hardware doesn't support the datasheet values.
      Thanks to Jean Delvare <khali@linux-fr.org> for pointing this improvement.
      Signed-off-by: NMauro Carvalho Chehab <mchehab@infradead.org>
      141276b5
  19. 25 3月, 2006 2 次提交
  20. 14 1月, 2006 1 次提交
  21. 10 1月, 2006 4 次提交
  22. 06 1月, 2006 1 次提交
  23. 09 11月, 2005 7 次提交
  24. 10 9月, 2005 1 次提交
  25. 06 9月, 2005 3 次提交