Forked from
Reform / reform-boundary-uboot
Source project has a limited visibility.
-
Haavard Skinnemoen authored
Spotted by Dean Capindale. Systems that support open-drain GPIO properly are allowed provide an empty I2C_TRISTATE define. However, this means that we need to be careful not to drive SDA low when the slave is expected to respond. This patch adds a missing I2C_SDA(1) to read_byte() required to tristate the SDA line on systems that support open-drain GPIO. Signed-off-by:
Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
Haavard Skinnemoen authoredSpotted by Dean Capindale. Systems that support open-drain GPIO properly are allowed provide an empty I2C_TRISTATE define. However, this means that we need to be careful not to drive SDA low when the slave is expected to respond. This patch adds a missing I2C_SDA(1) to read_byte() required to tristate the SDA line on systems that support open-drain GPIO. Signed-off-by:
Haavard Skinnemoen <haavard.skinnemoen@atmel.com>