projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a2c8ee
)
i2c: algos: bit: mention our experience about initial states
author
Wolfram Sang
<
[email protected]
>
Sat, 16 Jun 2018 13:37:57 +0000
(22:37 +0900)
committer
Wolfram Sang
<
[email protected]
>
Fri, 29 Jun 2018 06:19:51 +0000
(08:19 +0200)
So, if somebody wants to re-implement this in the future, we pinpoint to
a problem case.
Signed-off-by: Wolfram Sang <
[email protected]
>
Acked-by: Alex Deucher <
[email protected]
>
Signed-off-by: Wolfram Sang <
[email protected]
>
drivers/i2c/algos/i2c-algo-bit.c
patch
|
blob
|
history
diff --git
a/drivers/i2c/algos/i2c-algo-bit.c
b/drivers/i2c/algos/i2c-algo-bit.c
index 0c0eb16d710ff57d72f8a42210f7500b2fd0c458..6ec65adaba49569ab7b9775f856859a0fcfbd967 100644
(file)
--- a/
drivers/i2c/algos/i2c-algo-bit.c
+++ b/
drivers/i2c/algos/i2c-algo-bit.c
@@
-647,6
+647,11
@@
static int __i2c_bit_add_bus(struct i2c_adapter *adap,
if (bit_adap->getscl == NULL)
adap->quirks = &i2c_bit_quirk_no_clk_stretch;
+ /*
+ * We tried forcing SCL/SDA to an initial state here. But that caused a
+ * regression, sadly. Check Bugzilla #200045 for details.
+ */
+
ret = add_adapter(adap);
if (ret < 0)
return ret;