* [PATCH] i2c-eg20t: modified the setting of transfer rate.
@ 2011-09-26 7:16 ` Toshiharu Okada
0 siblings, 0 replies; 4+ messages in thread
From: Toshiharu Okada @ 2011-09-26 7:16 UTC (permalink / raw)
To: khali, ben-linux, linux-i2c, linux-kernel
Cc: qi.wang, yong.y.wang, joel.clark, kok.howg.ewe, tomoya-linux,
Toshiharu Okada
This patch modified the setting value of
I2C Bus Transfer Rate Setting Counter regisrer.
Signed-off-by: Toshiharu Okada <toshiharu-linux@dsn.okisemi.com>
---
drivers/i2c/busses/i2c-eg20t.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/i2c/busses/i2c-eg20t.c b/drivers/i2c/busses/i2c-eg20t.c
index ce1a32b..6b46892 100644
--- a/drivers/i2c/busses/i2c-eg20t.c
+++ b/drivers/i2c/busses/i2c-eg20t.c
@@ -242,7 +242,7 @@ static void pch_i2c_init(struct i2c_algo_pch_data *adap)
if (pch_clk > PCH_MAX_CLK)
pch_clk = 62500;
- pch_i2cbc = (pch_clk + (pch_i2c_speed * 4)) / pch_i2c_speed * 8;
+ pch_i2cbc = (pch_clk + (pch_i2c_speed * 4)) / (pch_i2c_speed * 8);
/* Set transfer speed in I2CBC */
iowrite32(pch_i2cbc, p + PCH_I2CBC);
--
1.7.4.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH] i2c-eg20t: modified the setting of transfer rate.
@ 2011-09-26 7:16 ` Toshiharu Okada
0 siblings, 0 replies; 4+ messages in thread
From: Toshiharu Okada @ 2011-09-26 7:16 UTC (permalink / raw)
To: khali-PUYAD+kWke1g9hUCZPvPmw, ben-linux-elnMNo+KYs3YtjvyW6yDsg,
linux-i2c-u79uwXL29TY76Z2rM5mHXA,
linux-kernel-u79uwXL29TY76Z2rM5mHXA
Cc: qi.wang-ral2JQCrhuEAvxtiuMwx3w,
yong.y.wang-ral2JQCrhuEAvxtiuMwx3w,
joel.clark-ral2JQCrhuEAvxtiuMwx3w,
kok.howg.ewe-ral2JQCrhuEAvxtiuMwx3w,
tomoya-linux-ECg8zkTtlr0C6LszWs/t0g, Toshiharu Okada
This patch modified the setting value of
I2C Bus Transfer Rate Setting Counter regisrer.
Signed-off-by: Toshiharu Okada <toshiharu-linux-ECg8zkTtlr0C6LszWs/t0g@public.gmane.org>
---
drivers/i2c/busses/i2c-eg20t.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/i2c/busses/i2c-eg20t.c b/drivers/i2c/busses/i2c-eg20t.c
index ce1a32b..6b46892 100644
--- a/drivers/i2c/busses/i2c-eg20t.c
+++ b/drivers/i2c/busses/i2c-eg20t.c
@@ -242,7 +242,7 @@ static void pch_i2c_init(struct i2c_algo_pch_data *adap)
if (pch_clk > PCH_MAX_CLK)
pch_clk = 62500;
- pch_i2cbc = (pch_clk + (pch_i2c_speed * 4)) / pch_i2c_speed * 8;
+ pch_i2cbc = (pch_clk + (pch_i2c_speed * 4)) / (pch_i2c_speed * 8);
/* Set transfer speed in I2CBC */
iowrite32(pch_i2cbc, p + PCH_I2CBC);
--
1.7.4.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] i2c-eg20t: modified the setting of transfer rate
@ 2011-11-21 8:47 ` Tomoya MORINAGA
0 siblings, 0 replies; 4+ messages in thread
From: Tomoya MORINAGA @ 2011-11-21 8:47 UTC (permalink / raw)
To: Jean Delvare, Ben Dooks, Wolfram Sang, Qi Wang, Linus Walleij,
linux-i2c, linux-kernel
Cc: yong.y.wang, joel.clark, kok.howg.ewe
Hi Ben.
It seems the following patch is not reviewed yet.
Subject: [PATCH] i2c-eg20t: modified the setting of transfer rate.
From: Toshiharu Okada <toshiharu-linux () dsn ! okisemi ! com>
Date: 2011-09-26 7:16:23
http://marc.info/?l=linux-i2c&m=131702145913299&w=2
Could you review this patch ?
Thanks in advance.
---
tomoya
ROHM Co., Ltd
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] i2c-eg20t: modified the setting of transfer rate
@ 2011-11-21 8:47 ` Tomoya MORINAGA
0 siblings, 0 replies; 4+ messages in thread
From: Tomoya MORINAGA @ 2011-11-21 8:47 UTC (permalink / raw)
To: Jean Delvare, Ben Dooks, Wolfram Sang, Qi Wang, Linus Walleij
Cc: yong.y.wang-ral2JQCrhuEAvxtiuMwx3w,
joel.clark-ral2JQCrhuEAvxtiuMwx3w,
kok.howg.ewe-ral2JQCrhuEAvxtiuMwx3w
Hi Ben.
It seems the following patch is not reviewed yet.
Subject: [PATCH] i2c-eg20t: modified the setting of transfer rate.
From: Toshiharu Okada <toshiharu-linux () dsn ! okisemi ! com>
Date: 2011-09-26 7:16:23
http://marc.info/?l=linux-i2c&m=131702145913299&w=2
Could you review this patch ?
Thanks in advance.
---
tomoya
ROHM Co., Ltd
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-11-21 8:47 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-26 7:16 [PATCH] i2c-eg20t: modified the setting of transfer rate Toshiharu Okada
2011-09-26 7:16 ` Toshiharu Okada
2011-11-21 8:47 Tomoya MORINAGA
2011-11-21 8:47 ` Tomoya MORINAGA
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.