[PATCH] i2c: rockchip: De-initialize the bus after start bit failure

Heiko Schocher hs at denx.de
Tue May 30 07:00:42 CEST 2023

Hello Jirman,

On 25.05.23 14:18, Ondřej Jirman wrote:
> From: Ondrej Jirman <megi at xff.cz>
> 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 at xff.cz>
> Cc: Heiko Schocher <hs at denx.de>
> ---
>  drivers/i2c/rk_i2c.c | 7 ++++---
>  1 file changed, 4 insertions(+), 3 deletions(-)

Reviewed-by: Heiko Schocher <hs at denx.de>

@kever: Patch is delegated to you on patchwork, for me it is fine, if you
  pick it up. If you do not plan to pick it up, please delegate it to me.


DENX Software Engineering GmbH,      Managing Director: Erika Unter
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-52   Fax: +49-8142-66989-80   Email: hs at denx.de

More information about the U-Boot mailing list