1. 29 10月, 2005 5 次提交
    • J
      [PATCH] i2c-viapro: Coding style fixes · 5f49ef8e
      Jean Delvare 提交于
      Before I go on cleaning up and improving the i2c-viapro driver, let's
      fix all the coding style issues: mostly trailing white space, and
      spaces used where tabs should be.
      Signed-off-by: NJean Delvare <khali@linux-fr>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      
       Documentation/i2c/busses/i2c-viapro |   12 ++---
       drivers/i2c/busses/i2c-viapro.c     |   76 ++++++++++++++++++------------------
       2 files changed, 43 insertions(+), 45 deletions(-)
      5f49ef8e
    • J
      [PATCH] i2c: Minor i2c-amd8111 cleanup · 0f69a612
      Jean Delvare 提交于
      I noticed a useless instruction in the i2c-amd8111 driver.
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      CC: Vojtech Pavlik <vojtech@suse.cz>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      
       drivers/i2c/busses/i2c-amd8111.c |    1 -
       1 file changed, 1 deletion(-)
      0f69a612
    • J
      [PATCH] i2c: Reuse name strings in i2c bus drivers · d6072f84
      Jean Delvare 提交于
      Clean up name string usage in 12 i2c bus drivers:
      * Use the i2c_adapter name for requesting the I/O region rather than
        redefining a new string.
      * Do not initialize the i2c_adapter name to "unset".
      This should save a few data bytes here and there.
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      
       drivers/i2c/busses/i2c-ali1535.c |    6 +++---
       drivers/i2c/busses/i2c-ali1563.c |    6 ++++--
       drivers/i2c/busses/i2c-ali15x3.c |    5 +++--
       drivers/i2c/busses/i2c-amd756.c  |    5 ++---
       drivers/i2c/busses/i2c-amd8111.c |    4 +++-
       drivers/i2c/busses/i2c-i801.c    |    4 ++--
       drivers/i2c/busses/i2c-nforce2.c |    4 ++--
       drivers/i2c/busses/i2c-piix4.c   |    4 ++--
       drivers/i2c/busses/i2c-sis5595.c |    5 +++--
       drivers/i2c/busses/i2c-sis630.c  |    6 ++++--
       drivers/i2c/busses/i2c-sis96x.c  |    5 +++--
       drivers/i2c/busses/i2c-via.c     |    4 ++--
       12 files changed, 33 insertions(+), 25 deletions(-)
      d6072f84
    • J
      [PATCH] i2c: Discard explicit static initializations to 0 · 60507095
      Jean Delvare 提交于
      Kill explicit static initializations to 0 in 10 i2c drivers.
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      
       drivers/i2c/algos/i2c-algo-pca.c    |    2 +-
       drivers/i2c/algos/i2c-algo-sibyte.c |    2 +-
       drivers/i2c/busses/i2c-ali15x3.c    |    4 ++--
       drivers/i2c/busses/i2c-amd756.c     |    2 +-
       drivers/i2c/busses/i2c-iop3xx.c     |    2 +-
       drivers/i2c/busses/i2c-piix4.c      |    8 ++++----
       drivers/i2c/busses/i2c-sis5595.c    |    4 ++--
       drivers/i2c/busses/i2c-sis630.c     |    2 +-
       drivers/i2c/busses/i2c-sis96x.c     |    2 +-
       drivers/i2c/busses/i2c-via.c        |    2 +-
       10 files changed, 15 insertions(+), 15 deletions(-)
      60507095
    • R
      [PATCH] DRIVER MODEL: Get rid of the obsolete tri-level suspend/resume callbacks · 9480e307
      Russell King 提交于
      In PM v1, all devices were called at SUSPEND_DISABLE level.  Then
      all devices were called at SUSPEND_SAVE_STATE level, and finally
      SUSPEND_POWER_DOWN level.  However, with PM v2, to maintain
      compatibility for platform devices, I arranged for the PM v2
      suspend/resume callbacks to call the old PM v1 suspend/resume
      callbacks three times with each level in order so that existing
      drivers continued to work.
      
      Since this is obsolete infrastructure which is no longer necessary,
      we can remove it.  Here's an (untested) patch to do exactly that.
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      9480e307
  2. 23 9月, 2005 1 次提交
    • B
      [PATCH] ppc64: SMU driver update & i2c support · 0365ba7f
      Benjamin Herrenschmidt 提交于
      The SMU is the "system controller" chip used by Apple recent G5 machines
      including the iMac G5.  It drives things like fans, i2c busses, real time
      clock, etc...
      
      The current kernel contains a very crude driver that doesn't do much more
      than reading the real time clock synchronously.  This is a completely
      rewritten driver that provides interrupt based command queuing, a userland
      interface, and an i2c/smbus driver for accessing the devices hanging off
      the SMU i2c busses like temperature sensors.  This driver is a basic block
      for upcoming work on thermal control for those machines, among others.
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: Jean Delvare <khali@linux-fr.org>
      Cc: Greg KH <greg@kroah.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      0365ba7f
  3. 15 9月, 2005 1 次提交
  4. 13 9月, 2005 1 次提交
  5. 10 9月, 2005 1 次提交
  6. 09 9月, 2005 1 次提交
  7. 06 9月, 2005 11 次提交
  8. 10 8月, 2005 1 次提交
  9. 02 8月, 2005 1 次提交
  10. 30 7月, 2005 2 次提交
  11. 28 7月, 2005 1 次提交
  12. 12 7月, 2005 1 次提交
  13. 07 7月, 2005 1 次提交
  14. 26 6月, 2005 1 次提交
  15. 25 6月, 2005 1 次提交
  16. 22 6月, 2005 7 次提交
  17. 15 6月, 2005 1 次提交
  18. 01 6月, 2005 1 次提交
    • R
      [PATCH] I2C: ALI1563 SMBus driver fix · 4a4e5787
      R.Marek@sh.cvut.cz 提交于
      This patch fixes "grave" bugs in i2c-ali1563 driver. It seems on recent
      chipset revisions the HSTS_DONE is set only for block transfers, so we
      must detect the end of ordinary transaction other way. Also due to missing
      and mask, setting other transfer modes was not possible. Moreover the
      continous byte mode transfer uses DAT0 for command rather than CMD command.
      All those changes were tested with help of Chunhao Huang from Winbond.
      
      I'm willing to maintain the driver. Second patch adds me as maintainer
      if this is neccessary.
      Signed-Off-By: NRudolf Marek <r.marek@sh.cvut.cz>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      4a4e5787
  19. 23 5月, 2005 1 次提交
    • B
      [PATCH] ppc64: Fix booting on latest G5 models · 1263cc67
      Benjamin Herrenschmidt 提交于
      The latest speedbumped Apple G5 models have a "bug" in the Open Firmware
      device tree that lacks the proper interrupt routing information for the
      northbridge i2c controller.  Apple's driver silently falls back into a
      sub-optimal "polled" mode (heh, maybe they didn't even notice the bug
      because of that :), our driver didn't properly check and crashes :(
      
      This patch fixes our driver to not crash, and adds code to the
      prom_init() OF trampoline code that detects the "bug" and adds the
      missing information back for this chipset revision.  This fixes booting
      and thermal control on these models.
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      1263cc67