1. 24 8月, 2007 1 次提交
    • T
      V4L/DVB (6042): b2c2-flexcop: fix Airstar HD5000 tuning regression · 6175e487
      Trent Piepho 提交于
      Git changeset 6bdcc6e6 dropped the
      stand-alone lgh06xf module, whose functionality was absorbed into the
      dvb-pll module. However, there was a minor difference between the code
      in lgh06xf and dvb-pll, which caused a regression in b2c2-flexcop
      devices using the LG-H06xF NIM.
      
      dvb-pll will probe for the presence of an i2c pll chip by performing a
      single byte read, the lgh06xf driver did not do this. Unfortunately, the
      code in flexcop-i2c.c does not currently support 1 byte or 0 byte reads
      as a probe.  Such probes with the current code will always fail.
      
      In order to work around this problem, and restore proper functionality
      of the Airstar HD5000 device, this hack was created to make the probe
      appear to succeed.  The single byte read in dvb_pll_attach is the only
      place where such a probe would ever occur, so this change is safe, and
      will not affect any other devices.
      
      Of course, if one knew how to actually perform the read operation, it
      would be better to go that route.  In the meantime, however, we must
      apply this workaround, in order to prevent the regression that causes
      tuning to fail on the Airstar HD5000 ATSC device.
      
      Thanks to Jarod Wilson, who had originally reported this regression, and
      to Geoffrey Hausheer, whose original workaround patch led us to find the
      actual cause of the problem.
      Signed-off-by: NTrent Piepho <xyzzy@speakeasy.org>
      Cc: Geoffrey Hausheer <inli3epy93n@phracturedblue.com>
      Acked-by: NJarod Wilson <jwilson@redhat.com>
      Signed-off-by: NMichael Krufky <mkrufky@linuxtv.org>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@infradead.org>
      6175e487
  2. 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
  3. 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
  4. 07 2月, 2006 1 次提交
  5. 06 9月, 2005 3 次提交
  6. 17 5月, 2005 2 次提交