public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] i2c: omap: highspeed only over 1000mhz
@ 2008-10-17 21:09 Felipe Balbi
  2008-10-17 21:51 ` Ben Dooks
  2008-10-20 10:26 ` Felipe Balbi
  0 siblings, 2 replies; 9+ messages in thread
From: Felipe Balbi @ 2008-10-17 21:09 UTC (permalink / raw)
  To: linux-omap; +Cc: Ben Dooks, Tony Lindgren, Felipe Balbi

up to 1000mhz it's Fast Mode+, not highspeed.

Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com>
---
 drivers/i2c/busses/i2c-omap.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/i2c/busses/i2c-omap.c b/drivers/i2c/busses/i2c-omap.c
index a999606..53d6244 100644
--- a/drivers/i2c/busses/i2c-omap.c
+++ b/drivers/i2c/busses/i2c-omap.c
@@ -296,7 +296,7 @@ static int omap_i2c_init(struct omap_i2c_dev *dev)
 		psc = psc - 1;
 
 		/* If configured for High Speed */
-		if (dev->speed > 400) {
+		if (dev->speed > 1000) {
 			/* For first phase of HS mode */
 			fsscll = internal_clk / (400 * 2) - 6;
 			fssclh = internal_clk / (400 * 2) - 6;
-- 
1.6.0.2.307.gc427


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

end of thread, other threads:[~2008-10-20 17:11 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-17 21:09 [PATCH] i2c: omap: highspeed only over 1000mhz Felipe Balbi
2008-10-17 21:51 ` Ben Dooks
2008-10-17 23:49   ` Felipe Balbi
2008-10-20 10:26 ` Felipe Balbi
2008-10-20 12:42   ` Nishanth Menon
2008-10-20 12:53     ` Felipe Balbi
     [not found]       ` <48FC851C.3040506@gmail.com>
2008-10-20 13:22         ` Felipe Balbi
2008-10-20 15:15   ` Tony Lindgren
2008-10-20 17:10     ` Felipe Balbi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox