]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
commite155e38830194f59fe26310421bba70f875cab25
treee65d7f5dd8be0ab2a1ad570a032c8b5988399db3
parent8927fbf481248954ca1fc5e652171936b94905ac
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