[PATCH] i2c driver fix for 2.6.0-test11

From: Greg KH (greg_at_kroah.com)
Date: 12/04/03

  • Next message: Greg KH: "[BK PATCH] i2c driver fix for 2.6.0-test11"
    Date:	Thu, 4 Dec 2003 14:28:26 -0800
    To: linux-kernel@vger.kernel.org, sensors@Stimpy.netroedge.com
    
    

    ChangeSet 1.1505, 2003/12/04 14:14:33-08:00, khali@linux-fr.org

    [PATCH] I2C: fix i2c_smbus_write_byte() for i2c-nforce2

    This patch fixes i2c_smbus_write_byte() being broken for i2c-nforce2.
    This causes trouble when that module is used together with eeprom (which
    is also in 2.6). We have had three user reports about the problem.

    Credits go to Mark D. Studebaker for finding and fixing the problem.

     drivers/i2c/busses/i2c-nforce2.c | 2 +-
     1 files changed, 1 insertion(+), 1 deletion(-)

    diff -Nru a/drivers/i2c/busses/i2c-nforce2.c b/drivers/i2c/busses/i2c-nforce2.c
    --- a/drivers/i2c/busses/i2c-nforce2.c Thu Dec 4 14:22:52 2003
    +++ b/drivers/i2c/busses/i2c-nforce2.c Thu Dec 4 14:22:52 2003
    @@ -147,7 +147,7 @@
     
                     case I2C_SMBUS_BYTE:
                             if (read_write == I2C_SMBUS_WRITE)
    - outb_p(data->byte, NVIDIA_SMB_DATA);
    + outb_p(command, NVIDIA_SMB_CMD);
                             protocol |= NVIDIA_SMB_PRTCL_BYTE;
                             break;
     
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/


  • Next message: Greg KH: "[BK PATCH] i2c driver fix for 2.6.0-test11"

    Relevant Pages

    • ALSA Oops in 2.6.12-rc5-mm1
      ... Oops: 0002 ... eeprom i2c_sensor radeon drm i2c_algo_bit i2c_core ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [PATCH] i2c driver fixes for 2.6.0
      ... This causes trouble when that module is used together with eeprom (which ... We have had no report so far, ... Studebaker found and fixed the original problem in i2c-nforce2. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • CREDITS
      ... if I was listed in the CREDITS file... ... N: Neil Whelchel ... Cypress M8 driver, PMD-1280LS driver, USB patches ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • [patch] remove bouncing email address of Olaf Kirch
      ... The email address for Olaf Kirch listed in net/sunrpc/auth.c bounces, ... CREDITS, should the address stay or would a patch to remove it there as ... * Generic RPC client authentication API. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: PATCH: cdrecord: avoiding scsi device numbering for ide devices
      ... I think people stopped counting the credits a long time ago. ... You argue about nomenclature. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)