projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
07125ab
)
i2c: Fix OMAP clock prescaler to match the comment
author
Jean Delvare
<khali@linux-fr.org>
Sun, 10 Dec 2006 20:21:34 +0000
(21:21 +0100)
committer
Jean Delvare
<khali@arrakis.delvare>
Sun, 10 Dec 2006 20:21:34 +0000
(21:21 +0100)
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/i2c/busses/i2c-omap.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/i2c/busses/i2c-omap.c
b/drivers/i2c/busses/i2c-omap.c
index dec04da0455c1d4988f715b1868fb66a06512677..bcd8367cede1aa0dc13b221d14266166c1e9e346 100644
(file)
--- a/
drivers/i2c/busses/i2c-omap.c
+++ b/
drivers/i2c/busses/i2c-omap.c
@@
-231,8
+231,8
@@
static int omap_i2c_init(struct omap_i2c_dev *dev)
* 13 2 1
* 19.2 2 1
*/
- if (fclk_rate > 1
6
000000)
- psc =
(fclk_rate + 8000000)
/ 12000000;
+ if (fclk_rate > 1
2
000000)
+ psc =
fclk_rate
/ 12000000;
}
/* Setup clock prescaler to obtain approx 12MHz I2C module clock: */