i2c: gpio: fault-injector: add incomplete_write_byte
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Fri, 29 Jun 2018 09:12:47 +0000 (11:12 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Tue, 3 Jul 2018 21:09:36 +0000 (23:09 +0200)
commitbbe899700a44af8b81dcef49f4005d9d1afe7c47
treed9897ddec44388b3194c2a411221a1cf392a9f11
parent16d55daa56cd7520055758f98f96e8544cc7713e
i2c: gpio: fault-injector: add incomplete_write_byte

Add another injector for an incomplete transfer. As mentioned in the
docs, this one is important to check bus recovery algorithms with it.
Otherwise random data may be sent to devices!

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Documentation/i2c/gpio-fault-injection
drivers/i2c/busses/i2c-gpio.c