projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'driver-core-4.9-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git...
[cascardo/linux.git]
/
drivers
/
i2c
/
busses
/
i2c-rk3x.c
diff --git
a/drivers/i2c/busses/i2c-rk3x.c
b/drivers/i2c/busses/i2c-rk3x.c
index
50702c7
..
df22066
100644
(file)
--- a/
drivers/i2c/busses/i2c-rk3x.c
+++ b/
drivers/i2c/busses/i2c-rk3x.c
@@
-694,6
+694,8
@@
static int rk3x_i2c_v0_calc_timings(unsigned long clk_rate,
t_calc->div_low--;
t_calc->div_high--;
+ /* Give the tuning value 0, that would not update con register */
+ t_calc->tuning = 0;
/* Maximum divider supported by hw is 0xffff */
if (t_calc->div_low > 0xffff) {
t_calc->div_low = 0xffff;