]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: gpio: flag atomic capability if possible
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Wed, 3 Apr 2019 12:40:19 +0000 (14:40 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Tue, 16 Apr 2019 11:08:17 +0000 (13:08 +0200)
commit5a3a73d7e1e29ee02236a74fa53f18d0991618fd
treee65d7f5dd8be0ab2a1ad570a032c8b5988399db3
parentad2a6e592e8fe07cdf89216fda8f6d37f26e55af
i2c: gpio: flag atomic capability if possible

If switching GPIOs does not sleep, then we can support atomic transfers.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-gpio.c