]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: algo: bit: add flag to whitelist atomic transfers
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Wed, 3 Apr 2019 12:40:18 +0000 (14:40 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Tue, 16 Apr 2019 11:08:16 +0000 (13:08 +0200)
commitad2a6e592e8fe07cdf89216fda8f6d37f26e55af
tree4369d913802a91c0a21ed3d911fa3cf2dfb423b3
parent57b7eeaaf0c89d55a6e692d68f79c69eb199d123
i2c: algo: bit: add flag to whitelist atomic transfers

Use the new xfer_atomic callback to check a newly introduced flag to
whitelist atomic transfers. This will report configurations which
worked accidently.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/algos/i2c-algo-bit.c
include/linux/i2c-algo-bit.h