]> git.dujemihanovic.xyz Git - u-boot.git/commit
i2c: Export i2c_deblock_gpio_loop()
authorMarek Vasut <marex@denx.de>
Fri, 7 Feb 2020 15:57:50 +0000 (16:57 +0100)
committerHeiko Schocher <hs@denx.de>
Mon, 16 Mar 2020 06:46:04 +0000 (07:46 +0100)
commit7231522a5ed1545d3206f5204676897d62a24f5f
treec1d050c01fe09c0f6ffa1cd8a70fc92f893ca9da
parent1f746a2c82b1b455f7f535412afffd7e4689913d
i2c: Export i2c_deblock_gpio_loop()

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@denx.de>
Reviewed-by: Heiko Schocher <hs@denx.de>
drivers/i2c/i2c-uclass.c
include/i2c.h