linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [BK PATCH] i2c driver fix for 2.6.0-test11
@ 2003-12-04 22:27 Greg KH
  2003-12-04 22:28 ` [PATCH] " Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Greg KH @ 2003-12-04 22:27 UTC (permalink / raw)
  To: torvalds; +Cc: linux-kernel, sensors

Hi,

Here is a i2c driver fixes for 2.6.0-test11.  It fixes an problem in the
i2c-nforce2 driver when it is used to talk to the eeprom i2c driver.

Please pull from:  bk://linuxusb.bkbits.net/i2c-2.6

thanks,

greg k-h

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

Jean Delvare:
  o I2C: fix i2c_smbus_write_byte() for i2c-nforce2


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH] i2c driver fix for 2.6.0-test11
  2003-12-04 22:27 [BK PATCH] i2c driver fix for 2.6.0-test11 Greg KH
@ 2003-12-04 22:28 ` Greg KH
  0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2003-12-04 22:28 UTC (permalink / raw)
  To: linux-kernel, sensors

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;
 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-12-04 22:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-12-04 22:27 [BK PATCH] i2c driver fix for 2.6.0-test11 Greg KH
2003-12-04 22:28 ` [PATCH] " Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).