diff for duplicates of <11176026144049@kroah.com> diff --git a/a/1.txt b/N1/1.txt index 4bff056..e9f5688 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -134,7 +134,7 @@ diff --git a/drivers/i2c/busses/i2c-ali1563.c b/drivers/i2c/busses/i2c-ali1563.c + switch(size) { case HST_CNTL2_BYTE: - if (rw= I2C_SMBUS_WRITE) + if (rw== I2C_SMBUS_WRITE) - outb_p(cmd, SMB_HST_CMD); + /* Beware it uses DAT0 register and not CMD! */ + outb_p(cmd, SMB_HST_DAT0); @@ -149,4 +149,4 @@ diff --git a/drivers/i2c/busses/i2c-ali1563.c b/drivers/i2c/busses/i2c-ali1563.c + if ((error = ali1563_transaction(a, size))) goto Done; - if ((rw = I2C_SMBUS_WRITE) || (size = HST_CNTL2_QUICK)) + if ((rw == I2C_SMBUS_WRITE) || (size == HST_CNTL2_QUICK)) diff --git a/a/content_digest b/N1/content_digest index 827842d..8313dc5 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\020050601050942.GA26994@kroah.com\0" - "From\0gregkh@suse.de (Greg KH)\0" - "Subject\0[lm-sensors] [PATCH] I2C: ALI1563 SMBus driver fix\0" - "Date\0Wed, 01 Jun 2005 11:43:52 +0000\0" + "From\0Greg KH <gregkh@suse.de>\0" + "Subject\0[PATCH] I2C: ALI1563 SMBus driver fix\0" + "Date\0Tue, 31 May 2005 22:10:14 -0700\0" "To\0linux-kernel@vger.kernel.org" " sensors@stimpy.netroedge.com\0" "Cc\0R.Marek@sh.cvut.cz\0" @@ -143,7 +143,7 @@ "+\n" " \tswitch(size) {\n" " \tcase HST_CNTL2_BYTE:\n" - " \t\tif (rw= I2C_SMBUS_WRITE)\n" + " \t\tif (rw== I2C_SMBUS_WRITE)\n" "-\t\t\toutb_p(cmd, SMB_HST_CMD);\n" "+\t\t\t/* Beware it uses DAT0 register and not CMD! */\n" "+\t\t\toutb_p(cmd, SMB_HST_DAT0);\n" @@ -158,6 +158,6 @@ "+\tif ((error = ali1563_transaction(a, size)))\n" " \t\tgoto Done;\n" " \n" - " \tif ((rw = I2C_SMBUS_WRITE) || (size = HST_CNTL2_QUICK))" + " \tif ((rw == I2C_SMBUS_WRITE) || (size == HST_CNTL2_QUICK))" -81d9a27a9dc83fdabb0fa7c51def3052d8bca7385a3d0cc0ce1b9cebf7a9cb43 +2aade3b1a2b91d1dbbb4516d48531948ae6104b7d69a90372a6923483c2ad38c
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.