commit | dc6e2d112fb6543c74a4a6df6262e1b047736fe8 | [log] [tgz] |
---|---|---|
author | Ondrej Jirman <megi@xff.cz> | Thu May 25 14:18:17 2023 +0200 |
committer | Heiko Schocher <hs@denx.de> | Mon Jun 05 06:52:46 2023 +0200 |
tree | 633bc11163c39407b9cd1c19179250e777cfa226 | |
parent | 0f6a71cb0a256fbb87cc74b2f1c3ded70303d4cf [diff] |
i2c: rockchip: De-initialize the bus after start bit failure Failure can happen when i2c is used without initializing pinctrl properly, which U-Boot happily allows in SPL. Without this fix, further I2C access would fail, even after proper pinctrl initialization. Signed-off-by: Ondrej Jirman <megi@xff.cz> Cc: Heiko Schocher <hs@denx.de> Reviewed-by: Kever Yang <kever.yang@rock-chips.com> Reviewed-by: Heiko Schocher <hs@denx.de>