Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2173ed0a authored by Wolfram Sang's avatar Wolfram Sang Committed by Wolfram Sang
Browse files

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: default avatarWolfram Sang <wsa+renesas@sang-engineering.com>
Acked-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
parent 2a2c8ee2
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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;