i2c: rcar: optimize cacheline to minimize HW race condition
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Wed, 23 Dec 2020 17:21:52 +0000 (18:21 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Mar 2021 16:06:22 +0000 (17:06 +0100)
commit2b6105746b8351dc7c371b83c78308c6ecb9cbb7
tree2f946071a8c8c726316c7eb9322f0a292b8181b5
parent222a825f6bdb7fdc784c2214003ac4e904ad27f1
i2c: rcar: optimize cacheline to minimize HW race condition

[ Upstream commit 25c2e0fb5fefb8d7847214cf114d94c7aad8e9ce ]

'flags' and 'io' are needed first, so they should be at the beginning of
the private struct.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/i2c/busses/i2c-rcar.c