diff options
Diffstat (limited to 'recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.2/0119-i2c-eg20t-modified-the-setting-of-transfer-rate.patch')
-rw-r--r-- | recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.2/0119-i2c-eg20t-modified-the-setting-of-transfer-rate.patch | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.2/0119-i2c-eg20t-modified-the-setting-of-transfer-rate.patch b/recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.2/0119-i2c-eg20t-modified-the-setting-of-transfer-rate.patch deleted file mode 100644 index 15391676..00000000 --- a/recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.2/0119-i2c-eg20t-modified-the-setting-of-transfer-rate.patch +++ /dev/null | |||
@@ -1,33 +0,0 @@ | |||
1 | From d73358012ed5ac74a1f51fa250d221be5e3ca304 Mon Sep 17 00:00:00 2001 | ||
2 | From: Toshiharu Okada <toshiharu-linux@dsn.okisemi.com> | ||
3 | Date: Mon, 26 Sep 2011 16:16:23 +0900 | ||
4 | Subject: [PATCH 119/129] i2c-eg20t: modified the setting of transfer rate. | ||
5 | |||
6 | commit ff35e8b18984ad2a82cbd259fc07f0be4b34b1aa upstream. | ||
7 | |||
8 | This patch modified the setting value of | ||
9 | I2C Bus Transfer Rate Setting Counter regisrer. | ||
10 | |||
11 | Signed-off-by: Toshiharu Okada <toshiharu-linux@dsn.okisemi.com> | ||
12 | Signed-off-by: Ben Dooks <ben-linux@fluff.org> | ||
13 | Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> | ||
14 | --- | ||
15 | drivers/i2c/busses/i2c-eg20t.c | 2 +- | ||
16 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
17 | |||
18 | diff --git a/drivers/i2c/busses/i2c-eg20t.c b/drivers/i2c/busses/i2c-eg20t.c | ||
19 | index 18936ac..730215e 100644 | ||
20 | --- a/drivers/i2c/busses/i2c-eg20t.c | ||
21 | +++ b/drivers/i2c/busses/i2c-eg20t.c | ||
22 | @@ -243,7 +243,7 @@ static void pch_i2c_init(struct i2c_algo_pch_data *adap) | ||
23 | if (pch_clk > PCH_MAX_CLK) | ||
24 | pch_clk = 62500; | ||
25 | |||
26 | - pch_i2cbc = (pch_clk + (pch_i2c_speed * 4)) / pch_i2c_speed * 8; | ||
27 | + pch_i2cbc = (pch_clk + (pch_i2c_speed * 4)) / (pch_i2c_speed * 8); | ||
28 | /* Set transfer speed in I2CBC */ | ||
29 | iowrite32(pch_i2cbc, p + PCH_I2CBC); | ||
30 | |||
31 | -- | ||
32 | 1.7.9.5 | ||
33 | |||