* [PATCH] The input clock of I2C should be platform/2
@ 2016-01-27 7:48 ying.zhang22455
2016-04-26 21:31 ` Wolfram Sang
0 siblings, 1 reply; 2+ messages in thread
From: ying.zhang22455 @ 2016-01-27 7:48 UTC (permalink / raw)
To: linux-i2c; +Cc: xiaobo.xie, york.sun, b45385, Ying Zhang
From: Ying Zhang <b40530@freescale.com>
Signed-off-by: Ying Zhang <b40530@freescale.com>
---
drivers/i2c/busses/i2c-imx.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/i2c/busses/i2c-imx.c b/drivers/i2c/busses/i2c-imx.c
index a2b132c..806cb99 100644
--- a/drivers/i2c/busses/i2c-imx.c
+++ b/drivers/i2c/busses/i2c-imx.c
@@ -475,7 +475,7 @@ static void i2c_imx_set_clk(struct imx_i2c_struct *i2c_imx)
int i;
/* Divider value calculation */
- i2c_clk_rate = clk_get_rate(i2c_imx->clk);
+ i2c_clk_rate = clk_get_rate(i2c_imx->clk) / 2;
if (i2c_imx->cur_clk == i2c_clk_rate)
return;
--
2.1.0.27.g96db324
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] The input clock of I2C should be platform/2
2016-01-27 7:48 [PATCH] The input clock of I2C should be platform/2 ying.zhang22455
@ 2016-04-26 21:31 ` Wolfram Sang
0 siblings, 0 replies; 2+ messages in thread
From: Wolfram Sang @ 2016-04-26 21:31 UTC (permalink / raw)
To: ying.zhang22455; +Cc: linux-i2c, xiaobo.xie, york.sun, b45385, Ying Zhang
[-- Attachment #1: Type: text/plain, Size: 1070 bytes --]
On Wed, Jan 27, 2016 at 03:48:13PM +0800, ying.zhang22455@nxp.com wrote:
> From: Ying Zhang <b40530@freescale.com>
>
The patch description should state where this information comes from.
> Signed-off-by: Ying Zhang <b40530@freescale.com>
> ---
> drivers/i2c/busses/i2c-imx.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/i2c/busses/i2c-imx.c b/drivers/i2c/busses/i2c-imx.c
> index a2b132c..806cb99 100644
> --- a/drivers/i2c/busses/i2c-imx.c
> +++ b/drivers/i2c/busses/i2c-imx.c
> @@ -475,7 +475,7 @@ static void i2c_imx_set_clk(struct imx_i2c_struct *i2c_imx)
> int i;
>
> /* Divider value calculation */
> - i2c_clk_rate = clk_get_rate(i2c_imx->clk);
> + i2c_clk_rate = clk_get_rate(i2c_imx->clk) / 2;
> if (i2c_imx->cur_clk == i2c_clk_rate)
> return;
>
> --
> 2.1.0.27.g96db324
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-i2c" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-04-26 21:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-27 7:48 [PATCH] The input clock of I2C should be platform/2 ying.zhang22455
2016-04-26 21:31 ` Wolfram Sang
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).