1. 22 9月, 2016 1 次提交
  2. 06 2月, 2013 1 次提交
  3. 28 12月, 2012 1 次提交
  4. 27 10月, 2012 1 次提交
    • D
      [media] rc-core: add separate defines for protocol bitmaps and numbers · c003ab1b
      David Härdeman 提交于
      The RC_TYPE_* defines are currently used both where a single protocol is
      expected and where a bitmap of protocols is expected.
      
      Functions like rc_keydown() and functions which add/remove entries to the
      keytable want a single protocol. Future userspace APIs would also
      benefit from numeric protocols (rather than bitmap ones). Keytables are
      smaller if they can use a small(ish) integer rather than a bitmap.
      
      Other functions or struct members (e.g. allowed_protos,
      enabled_protocols, etc) accept multiple protocols and need a bitmap.
      
      Using different types reduces the risk of programmer error. Using a
      protocol enum whereever possible also makes for a more future-proof
      user-space API as we don't need to worry about a sufficient number of
      bits being available (e.g. in structs used for ioctl() calls).
      
      The use of both a number and a corresponding bit is dalso one in e.g.
      the input subsystem as well (see all the references to set/clear bit when
      changing keytables for example).
      
      This patch separate the different usages in preparation for
      upcoming patches.
      
      Where a single protocol is expected, enum rc_type is used; where one or more
      protocol(s) are expected, something like u64 is used.
      
      The patch has been rewritten so that the format of the sysfs "protocols"
      file is no longer altered (at the loss of some detail). The file itself
      should probably be deprecated in the future though.
      Signed-off-by: NDavid Härdeman <david@hardeman.nu>
      Cc: Andy Walls <awalls@md.metrocast.net>
      Cc: Maxim Levitsky <maximlevitsky@gmail.com>
      Cc: Antti Palosaari <crope@iki.fi>
      Cc: Mike Isely <isely@pobox.com>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      c003ab1b
  5. 16 8月, 2012 1 次提交
  6. 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
  7. 23 3月, 2011 1 次提交
  8. 29 12月, 2010 1 次提交
  9. 22 11月, 2010 1 次提交
  10. 23 10月, 2010 1 次提交
  11. 12 8月, 2010 1 次提交
  12. 01 6月, 2010 1 次提交
  13. 19 5月, 2010 2 次提交
  14. 06 12月, 2009 1 次提交
  15. 19 9月, 2009 2 次提交
  16. 12 9月, 2009 4 次提交
  17. 30 4月, 2009 1 次提交
  18. 07 4月, 2009 1 次提交
  19. 30 3月, 2009 5 次提交
  20. 03 1月, 2009 1 次提交
  21. 30 12月, 2008 3 次提交
  22. 12 10月, 2008 2 次提交
  23. 20 7月, 2008 3 次提交
  24. 27 6月, 2008 1 次提交
  25. 19 5月, 2008 1 次提交
    • J
      i2c: Convert remaining new-style drivers to use module aliasing · af294867
      Jean Delvare 提交于
      Update all the remaining new-style i2c drivers to use standard module
      aliasing instead of the old driver_name/type driver matching scheme.
      
      Note that the tuner driver is a bit quirky at the moment, as it
      overwrites i2c_client.name with arbitrary strings. We write "tuner"
      back on remove, to make sure that driver cycling will work properly,
      but there may still be troublesome corner cases.
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      af294867
  26. 14 5月, 2008 1 次提交