i2c: imx: use open drain for recovery GPIO
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Fri, 13 Jul 2018 21:09:14 +0000 (23:09 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Tue, 24 Jul 2018 12:59:12 +0000 (14:59 +0200)
commitd2d0ad2aec4a8f3fd15e000ed903d6beddf39644
tree6922cc3e24bb66e1f9508ae5521c296444a562ec
parent2b16fd63059ab9a46d473620749672dc342e1d21
i2c: imx: use open drain for recovery GPIO

I2C is open drain, so request the GPIO accordingly, even if pinmux did
set it up correctly for in-kernel users in this case.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-imx.c