diff options
author | Ondrej Jirman <megi@xff.cz> | 2023-05-25 14:18:17 +0200 |
---|---|---|
committer | Heiko Schocher <hs@denx.de> | 2023-06-05 06:52:46 +0200 |
commit | ba5b9203f55bae1ef3566a84648cad46c6949270 (patch) | |
tree | 633bc11163c39407b9cd1c19179250e777cfa226 /arch/arm/mach-stm32mp/cmd_stm32prog/cmd_stm32prog.c | |
parent | 26659d426548d1c395ef878c3b820e53a6e3b346 (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>
Diffstat (limited to 'arch/arm/mach-stm32mp/cmd_stm32prog/cmd_stm32prog.c')
0 files changed, 0 insertions, 0 deletions