]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: gpio: fault-injector: refactor incomplete transfer
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Fri, 29 Jun 2018 09:12:46 +0000 (11:12 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Tue, 3 Jul 2018 21:09:01 +0000 (23:09 +0200)
commitf7a2910b680bd64546152d9ba14a9fbad16ee972
treec1d02faad2e07303e07f32b5d97f0e45256a5428
parentad7ff7055b5e559e8963cff405a545deba1e4371
i2c: gpio: fault-injector: refactor incomplete transfer

Make the incomplete_transfer routine reusable, so we can add other test
cases with different patterns later. Prepare the docs for that, too.

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