]> 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)
commit95e04771357edfdc6f4ec636e5d3a51e076c08aa
treed3c4e9740a34ad3cd0a3a22b43eec360d5ca23c5
parentcd5985e8132c8f071b3246c5a583d6744a0bada6
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: bda308c23911 ("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