]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: gpio: initialize SCL to HIGH again
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Sat, 16 Jun 2018 12:56:36 +0000 (21:56 +0900)
committerWolfram Sang <wsa@the-dreams.de>
Fri, 29 Jun 2018 06:23:12 +0000 (08:23 +0200)
commit209b051d4eaff6c1ae0e1af81aa5c0339c4db006
treed3c4e9740a34ad3cd0a3a22b43eec360d5ca23c5
parent8ba7c9c785648fdc985e29fc582c68c8d756d5ad
i2c: gpio: initialize SCL to HIGH again

It seems that during the conversion from gpio* to gpiod*, the initial
state of SCL was wrongly switched to LOW. Fix it to be HIGH again.

Fixes: 1484d8253ed3 ("i2c: gpio: Enforce open drain through gpiolib")
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Tested-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Cc: stable@kernel.org
drivers/i2c/busses/i2c-gpio.c