i2c: algos: bit: mention our experience about initial states
So, if somebody wants to re-implement this in the future, we pinpoint to a problem case. Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Acked-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
This commit is contained in:
parent
2a2c8ee2d7
commit
2173ed0adc
|
@ -647,6 +647,11 @@ static int __i2c_bit_add_bus(struct i2c_adapter *adap,
|
||||||
if (bit_adap->getscl == NULL)
|
if (bit_adap->getscl == NULL)
|
||||||
adap->quirks = &i2c_bit_quirk_no_clk_stretch;
|
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);
|
ret = add_adapter(adap);
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
return ret;
|
return ret;
|
||||||
|
|
Loading…
Reference in a new issue