[PATCH 2/4] i2c: Export i2c_deblock_gpio_loop()

Heiko Schocher hs at denx.de
Tue Feb 18 08:05:46 CET 2020


Hello Marek,

Am 07.02.2020 um 16:57 schrieb Marek Vasut:
> Export the i2c_deblock_gpio_loop() so it can be used in other places in
> U-Boot. In particular, this is useful in the GPIO I2C driver, which claims
> the SDA/SCL GPIOs and thus prevents the i2c_deblock() implementation from
> claiming the pins as GPIOs again.
> 
> Signed-off-by: Marek Vasut <marex at denx.de>
> ---
>   drivers/i2c/i2c-uclass.c |  8 ++++----
>   include/i2c.h            | 16 ++++++++++++++++
>   2 files changed, 20 insertions(+), 4 deletions(-)

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

bye,
Heiko
-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
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