i2c: rk3x: support master_xfer_atomic
authorJohn Keeping <john@metanate.com>
Tue, 23 Jun 2020 12:06:46 +0000 (13:06 +0100)
committerWolfram Sang <wsa@kernel.org>
Sat, 4 Jul 2020 06:44:39 +0000 (08:44 +0200)
commitf3e2bd713730e6d69e8e021d3ff574f01c39e7e3
tree8e1a57ab92da844b0b2ca0c28d7a5a0b014ad73e
parentf80531c8217c5b348058a0280f3be05835abd737
i2c: rk3x: support master_xfer_atomic

Enable i2c transactions in irq disabled contexts like poweroff where the
PMIC is connected via i2c.

Signed-off-by: John Keeping <john@metanate.com>
Tested-by: Heiko Stuebner <heiko@sntech.de>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/busses/i2c-rk3x.c