1. 04 8月, 2012 3 次提交
  2. 21 10月, 2010 1 次提交
  3. 12 9月, 2009 1 次提交
  4. 20 7月, 2008 1 次提交
  5. 19 7月, 2007 3 次提交
  6. 02 5月, 2007 1 次提交
    • D
      i2c: Shrink struct i2c_client · 2096b956
      David Brownell 提交于
      This shrinks the size of "struct i2c_client" by 40 bytes:
      
       - Substantially shrinks the string used to identify the chip type
       - The "flags" don't need to be so big
       - Removes some internal padding
      
      It also adds kerneldoc for that struct, explaining how "name" is really a
      chip type identifier; it's otherwise potentially confusing.
      
      Because the I2C_NAME_SIZE symbol was abused for both i2c_client.name
      and for i2c_adapter.name, this needed to affect i2c_adapter too.  The
      adapters which used that symbol now use the more-obviously-correct
      idiom of taking the size of that field.
      
      JD: Shorten i2c_adapter.name from 50 to 48 bytes while we're here, to
      avoid wasting space in padding.
      Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net>
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      2096b956
  7. 14 2月, 2007 1 次提交
    • J
      i2c: Declare more i2c_adapter parent devices · 12a917f6
      Jean Delvare 提交于
      Declare the parent device of i2c_adapter devices each time we can
      easily do so. It makes the i2c_adapter appear at the right place in
      the device tree, rather than as a platform device.
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      Cc: David Brownell <dbrownell@users.sourceforge.net>
      Cc: Len Brown <len.brown@intel.com>
      Cc: Jordan Crouse <jordan.crouse@amd.com>
      Cc: Jody McIntyre <scjody@modernduck.com>
      Cc: Stefan Richter <stefanr@s5r6.in-berlin.de>
      Cc: v4l-dvb-maintainer@linuxtv.org
      Cc: Petr Vandrovec <vandrove@vc.cvut.cz>
      12a917f6
  8. 04 10月, 2006 1 次提交
  9. 25 6月, 2006 3 次提交
  10. 10 1月, 2006 1 次提交
  11. 06 9月, 2005 1 次提交
    • J
      [PATCH] I2C: Kill i2c_algorithm.id (6/7) · 1684a984
      Jean Delvare 提交于
      In theory, there should be no more users of I2C_ALGO_* at this point.
      However, it happens that several drivers were using I2C_ALGO_* for
      adapter ids, so we need to correct these before we can get rid of all
      the I2C_ALGO_* definitions.
      
      Note that this also fixes a bug in media/video/tvaudio.c:
      
      	/* don't attach on saa7146 based cards,
      	   because dedicated drivers are used */
      	if ((adap->id & I2C_ALGO_SAA7146))
      		return 0;
      
      This test was plain broken, as it would succeed for many more adapters
      than just the saa7146: any those id would share at least one bit with
      the saa7146 id. We are really lucky that the few other adapters we want
      this driver to work with did not fulfill that condition.
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      1684a984
  12. 24 6月, 2005 1 次提交