i2c: add 'set_sda' to bus_recovery_info
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Tue, 9 Jan 2018 13:58:56 +0000 (14:58 +0100)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 15 Jan 2018 23:04:19 +0000 (00:04 +0100)
commit8092178ffe67dbd1f987e2e308e871c774774a16
treece87bba0677a51c8727e8a6d712e1b7125733796
parent6c92204e446694306198c7c394f3692bde46b696
i2c: add 'set_sda' to bus_recovery_info

This will be needed when we want to create STOP conditions, too, later.
Create the needed fields and populate them for the GPIO case if the GPIO
is set to output.

Tested-by: Phil Reid <preid@electromag.com.au>
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/i2c-core-base.c
include/linux/i2c.h