Title: [8697] trunk/drivers/i2c/busses/i2c-bfin-twi.c: Fix spello pointed out by Ben Dooks.
Revision
8697
Author
hennerich
Date
2010-05-10 04:02:46 -0400 (Mon, 10 May 2010)

Log Message

Fix spello pointed out by Ben Dooks.
Clock SCL for 9 cycles as pointed out by Michael Lawnick

Modified Paths

Diff

Modified: trunk/drivers/i2c/busses/i2c-bfin-twi.c (8696 => 8697)


--- trunk/drivers/i2c/busses/i2c-bfin-twi.c	2010-05-10 07:22:35 UTC (rev 8696)
+++ trunk/drivers/i2c/busses/i2c-bfin-twi.c	2010-05-10 08:02:46 UTC (rev 8697)
@@ -159,13 +159,13 @@
 		if (mast_stat & BUFWRERR)
 			dev_dbg(&iface->adap.dev, "Buffer Write Error\n");
 
-		/* Faulty salve devices, may drive SDA low after a transfer
-		 * finishes. To release the bus this code generates up to 8
+		/* Faulty slave devices, may drive SDA low after a transfer
+		 * finishes. To release the bus this code generates up to 9
 		 * extra clocks until SDA is released.
 		 */
 
 		if (read_MASTER_STAT(iface) & SDASEN) {
-			int cnt = 8;
+			int cnt = 9;
 			do {
 				write_MASTER_CTL(iface, SCLOVR);
 				udelay(6);
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits

Reply via email to