commit | 3e5f06bed72fe72166a6778f630241a893f67799 | [log] [tgz] |
---|---|---|
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | Mon Dec 04 09:16:18 2017 +0100 |
committer | Wolfram Sang <wsa@the-dreams.de> | Sun Dec 31 00:16:37 2017 +0100 |
tree | ecfdc707cf42d7e687ba406bc8042ba502c65bb4 | |
parent | e53537653791b4aaa9ec88a9eb5fd187d44ff6ac [diff] |
i2c: algo-bit: init the bus to a known state Ensure the bus is free when we register the adapter. Before the SCL/SDA wires were in an unknown state. It used to work because sending a byte has a retry mechanism which was triggered if the bus was initially in a non-free state. But the graceful way to do it is to initialize correctly. Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>