i2c: sh_mobile: implement atomic transfers
authorUlrich Hecht <uli+renesas@fpond.eu>
Mon, 28 Sep 2020 15:59:50 +0000 (17:59 +0200)
committerWolfram Sang <wsa@kernel.org>
Fri, 6 Nov 2020 14:25:31 +0000 (15:25 +0100)
commita49cc1fe9d64a2dc4e19b599204f403e5d25f44b
tree55ea89bdf58760897ffd3d88bed82bbe4e2f82ae
parentaafced673c06b7c77040c1df42e2e965be5d0376
i2c: sh_mobile: implement atomic transfers

Implements atomic transfers to fix reboot/shutdown on r8a7790 Lager and
similar boards.

Signed-off-by: Ulrich Hecht <uli+renesas@fpond.eu>
Tested-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Tested-by: Geert Uytterhoeven <geert+renesas@glider.be>
[wsa: some whitespace fixing]
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/busses/i2c-sh_mobile.c