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)
commit8927fbf481248954ca1fc5e652171936b94905ac
tree4369d913802a91c0a21ed3d911fa3cf2dfb423b3
parent252fa60e7054d22c039757d3ef72191d4eb58577
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