i2c: algo-bit: add support for I2C_M_STOP
authorJean Delvare <jdelvare@suse.de>
Wed, 21 Jun 2017 07:24:02 +0000 (09:24 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Fri, 23 Jun 2017 18:45:43 +0000 (20:45 +0200)
commit606fd2788b0fce6f5138078a4fbe8979ecba5697
tree0b43cd440500074cd17a95f78f074f41dd4e1029
parent413dfbbfca54904760aa04af40ca26e2a70f3eda
i2c: algo-bit: add support for I2C_M_STOP

Support for enforced STOPs will allow us to use SCCB compatible devices.

Based on a preliminary patch by Wolfram Sang.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
Tested-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/algos/i2c-algo-bit.c